SOLVED

M.S.EXCEL VBA

%3CLINGO-SUB%20id%3D%22lingo-sub-3342338%22%20slang%3D%22en-US%22%3EM.S.EXCEL%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3342338%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I%20am%20completely%20beginner%20for%20EXCEL%20VBA%2C%20here%20I%20have%20created%20an%20Excel%20work%20book%20having%20Three%20worksheets%2C%20where%20I%20would%20like%20to%20enter%20data%20in%20cells%20range%20%22D15%3AD39%22%20as%20'ITEM%20NAME'%20and%20in%20cells%20range%20%22E15%3AE39%22%20as%20'ITEM%20QUANTITY'%20in%20the%20%E2%80%9CINVOICE%E2%80%9D%20Sheet%20along%20with%20%22SAVE%22%20Button.%20When%20I%20press%20%E2%80%9CSAVE%E2%80%9D%20button%20on%20%E2%80%9CINVOICE%E2%80%9D%20Sheet%2C%20and%20then%20that%20data%20range%20from%20(D15%3AD39)%20as%20'ITEM%20NAME'%20%2C%20(E15%3AE39)%20as%20'ITEM%20QUANTITY'%20and%20cell%20value%20of%20%22H45%22%20as%20'TOTAL%20INVOICE%20AMOUNT'%20from%20%22INVOICE%20SHEET%22%20would%20be%20transferred%20to%20Column%20cells%20%22D2%3AAY2%22%20of%20%22INVOICE%20LIST%22%20sheet%2C%20to%20Cell%20No.%20%22D2%22%2C%22F2%22%2C%22H2%22%2C%22J2%22%2C%22L2%22%2C%22N2%22%2C%22P2%22%2C%22R2%22%2C%22T2%22%2C%22V2%22%2C%22X2%22%2C%22Z2%22%2C%22AB2%22%2C%22AD2%22%2C%22AF2%22%2C%22AH2%22%2C%22AJ2%22%2C%E2%80%9DAL2%E2%80%9D%2C%E2%80%9DAN2%E2%80%9D%2C%E2%80%9DAP2%E2%80%9D%2C%E2%80%9DAR2%E2%80%9D%2C%E2%80%9DAT2%E2%80%9D%E2%80%9DAV2%E2%80%9D%2C%E2%80%9DAX2%E2%80%9D%26nbsp%3B%20as%20'ITEM%20NAME'%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20to%20Cell%20no%3C%2FP%3E%3CP%3E%22E2%22%2C%22G2%22%2C%22I2%22%2C%22K2%22%2C%22M2%22%2C%22O2%22%2C%22Q2%22%2C%22S2%22%2C%22U2%22%2C%22W2%22%2C%22Y2%22%2C%22AA2%22%2C%22AC2%22%2C%22AE2%22%2C%22AG2%22%2C%22AI2%22%2C%22AK2%22%2C%E2%80%9DAM2%E2%80%9D%2C%E2%80%9DAO2%E2%80%9D%2C%E2%80%9DAQ2%E2%80%9D%2C%E2%80%9DAS2%E2%80%9D%2C%E2%80%9DAU2%E2%80%9D%2C%E2%80%9DAW2%E2%80%9D%2C%E2%80%9DAY2%E2%80%9D%2Cas%20'ITEM%20QUANTITY'%26nbsp%3B%20and%20to%20cell%20no%20%22AZ2%22%20as%20'TOTAL%20INVOICE%20AMOUNT'%20and%20contains%20of%20schedule%20cell%20of%20%E2%80%9CINVOICE%E2%80%9D%20Sheet%20would%20be%20clear%20except%20FORMULA.%20Then%20if%20I%20enter%20again%20data%20to%20Cell%20range%20%22D15%3AD39%22%20and%20Cell%20range%20%22E15%3AE39%22%20in%20my%20%22INVOICE%22%20Sheet%20for%20create%20new%20invoice%20and%20press%20the%20SAVE%20button%20on%20%22INVOICE%22%20Sheet%20I%20would%20need%20the%20contains%20of%20%22INVOICE%22%20Sheet%20would%20be%20transfer%20except%20FORMULA%20to%20%22INVOICE%20LIST%22%20Sheet%20to%20the%20next%20available%20blank%20row%20%22D3%3AAY3%22%2C%20and%20%E2%80%9CAZ3%E2%80%9D%2C%20and%20every%20time%20when%20I%20press%20the%20%22SAVE%20Button%22%20the%20event%20would%20be%20continuing%20to%20happen%20as%20above%20frequently.%20but%20it%20not%20works.%20May%20I%20get%20help%20to%20correct%20the%20same%20I%20have%20Code%20which%20i%20wrote%20as%20below%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESub%20SaveData()%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dim%20ws%20As%20Worksheet%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dim%20wt%20As%20Worksheet%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dim%20r%20As%20Long%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Application.ScreenUpdating%20%3D%20False%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Set%20ws%20%3D%20Worksheets(%22INVOICE%22)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Set%20wt%20%3D%20Worksheets(%22INVOICELIST%22)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20'%20Find%20first%20empty%20row%20in%20columns%20D%3AAL%20on%20sheet%20INVOICELIST%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20r%20%3D%20wt.Range(%22D%3AAY%22).Find(What%3A%3D%22*%22%2C%20SearchOrder%3A%3DxlByRows%2C%20SearchDirection%3A%3DxlPrevious).Row%20%2B%201%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wt.Range(%22D%22%20%26amp%3B%20r).Resize(1%2C%2025).Value%20%3D%20Application.Transpose(ws.Range(%22D15%3AD39%22))%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20r%20%3D%20wt.Range(%22D%3AAY%22).Find(What%3A%3D%22*%22%2C%20SearchOrder%3A%3DxlByRows%2C%20SearchDirection%3A%3DxlPrevious).Row%20%2B%201%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wt.Range(%22E%22%20%26amp%3B%20r).Resize(1%2C%2025).Value%20%3D%20Application.Transpose(ws.Range(%22E15%3AE39%22))%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wt.Range(%22AZ%22%20%26amp%3B%20r).Value%20%3D%20ws.Range(%22H45%22).Value%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20'Copy%20inv%20no%3C%2FP%3E%3CP%3ESheets(%22INVOICELIST%22).Range(%22B%22%20%26amp%3B%20r).Value%20%3D%20Sheets(%22INVOICE%22).Range(%22G1%22).Value%3C%2FP%3E%3CP%3E'Copy%20Date%3C%2FP%3E%3CP%3ESheets(%22INVOICELIST%22).Range(%22A%22%20%26amp%3B%20r).Value%20%3D%20Sheets(%22INVOICE%22).Range(%22G2%22).Value%3C%2FP%3E%3CP%3E'Copy%20Company%20Name%3C%2FP%3E%3CP%3ESheets(%22INVOICELIST%22).Range(%22C%22%20%26amp%3B%20r).Value%20%3D%20Sheets(%22INVOICE%22).Range(%22D3%22).Value%3C%2FP%3E%3CP%3Er%20%3D%20r%20%2B%201%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Application.ScreenUpdating%20%3D%20True%3C%2FP%3E%3CP%3EEnd%20Sub%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3342338%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3342444%22%20slang%3D%22en-US%22%3ERe%3A%20M.S.EXCEL%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3342444%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1383603%22%20target%3D%22_blank%22%3E%40TARUNKANTI1964%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENot%20bad%20for%20a%20beginner%2C%20you%20were%20almost%20there!%3C%2FP%3E%0A%3CP%3ETry%20this%3A%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-visual-basic%22%3E%3CCODE%3ESub%20SaveData()%0A%20%20%20%20Dim%20ws%20As%20Worksheet%0A%20%20%20%20Dim%20wt%20As%20Worksheet%0A%20%20%20%20Dim%20s%20As%20Long%0A%20%20%20%20Dim%20t%20As%20Long%0A%20%20%20%20Dim%20r%20As%20Long%0A%20%20%20%20Application.ScreenUpdating%20%3D%20False%0A%20%20%20%20Set%20ws%20%3D%20Worksheets(%22INVOICE%22)%0A%20%20%20%20Set%20wt%20%3D%20Worksheets(%22INVOICELIST%22)%0A%20%20%20%20'%20Find%20first%20empty%20row%20in%20columns%20D%3AAL%20on%20sheet%20INVOICELIST%0A%20%20%20%20t%20%3D%20wt.Range(%22D%3AAY%22).Find(What%3A%3D%22*%22%2C%20SearchOrder%3A%3DxlByRows%2C%20SearchDirection%3A%3DxlPrevious).Row%20%2B%201%0A%20%20%20%20'%20Copy%20Item%20Name%20and%20Item%20Quantity%0A%20%20%20%20For%20s%20%3D%201%20To%2025%0A%20%20%20%20%20%20%20%20wt.Cells(t%2C%202%20*%20s%20%2B%202).Value%20%3D%20ws.Range(%22D%22%20%26amp%3B%20s%20%2B%2014).Value%0A%20%20%20%20%20%20%20%20wt.Cells(t%2C%202%20*%20s%20%2B%203).Value%20%3D%20ws.Range(%22E%22%20%26amp%3B%20s%20%2B%2014).Value%0A%20%20%20%20Next%20s%0A%20%20%20%20wt.Range(%22AZ%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22H45%22).Value%0A%20%20%20%20'Copy%20inv%20no%0A%20%20%20%20wt.Range(%22B%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22G1%22).Value%0A%20%20%20%20'Copy%20Date%0A%20%20%20%20wt.Range(%22A%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22G2%22).Value%0A%20%20%20%20'Copy%20Company%20Name%0A%20%20%20%20wt.Range(%22C%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22D3%22).Value%0A%20%20%20%20'%20Clear%20Item%20Name%20and%20Item%20Quantity%0A%20%20%20%20ws.Range(%22D15%3AE39%22).ClearContents%0A%20%20%20%20'%20Optional%3A%20clear%20Invoice%20Number%2C%20Date%20and%20Company%20Name%0A%20%20%20%20ws.Range(%22D3%2CG1%3AG2%22).ClearContents%0A%20%20%20%20Application.ScreenUpdating%20%3D%20True%0AEnd%20Sub%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3342554%22%20slang%3D%22en-US%22%3ERe%3A%20M.S.EXCEL%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3342554%22%20slang%3D%22en-US%22%3ERespected%20Mr.%20Hans%20Vogelaar%3CBR%20%2F%3EExcellent!%20i%20have%20no%20language%20%2C%20what%20to%20say%20thank%20You.%20I%20am%20trying%20to%20use%20Your%20Tips%2C%20and%20I%20think%20it%20will%20work%20for%20me.%20Again%20I%20thank%20You.%3CBR%20%2F%3Eshall%20be%20Your%20most%20obidient.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3342833%22%20slang%3D%22en-US%22%3ERe%3A%20M.S.EXCEL%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3342833%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1383603%22%20target%3D%22_blank%22%3E%40TARUNKANTI1964%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERespected%20Mr.%20Hans%20Vogelaar%3C%2FP%3E%3CP%3Ea%20while%20ago%20i%20got%20Your%20tips%20and%20i%20used%20them%20in%20my%20excel%20project%2C%20but%20that%20is%20not%20working%20properly.%20That's%20why%20i%20reposted%20that%20matter%20for%20getting%20help%20from%20You.%20if%20there%20is%20any%20mistake%20by%20me%20please%20forgive%20me.%3C%2FP%3E%3CP%3EVBA%20CODE%3A%3C%2FP%3E%3CP%3ESub%20SaveData()%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dim%20ws%20As%20Worksheet%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dim%20wt%20As%20Worksheet%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dim%20s%20As%20Long%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dim%20t%20As%20Long%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dim%20r%20As%20Long%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Application.ScreenUpdating%20%3D%20False%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Set%20ws%20%3D%20Worksheets(%22INVOICE%22)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Set%20wt%20%3D%20Worksheets(%22INVOICELIST%22)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20'%20Find%20first%20empty%20row%20in%20columns%20D%3AAL%20on%20sheet%20INVOICELIST%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20t%20%3D%20wt.Range(%22D%3AAY%22).Find(What%3A%3D%22*%22%2C%20SearchOrder%3A%3DxlByRows%2C%20SearchDirection%3A%3DxlPrevious).Row%20%2B%201%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20'%20Copy%20Item%20Name%20and%20Item%20Quantity%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20For%20s%20%3D%201%20To%2025%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wt.Cells(t%2C%202%20*%20s%20%2B%202).Value%20%3D%20ws.Range(%22D%22%20%26amp%3B%20s%20%2B%2014).Value%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wt.Cells(t%2C%202%20*%20s%20%2B%203).Value%20%3D%20ws.Range(%22E%22%20%26amp%3B%20s%20%2B%2014).Value%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Next%20s%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wt.Range(%22AZ%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22H45%22).Value%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20'Copy%20inv%20no%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wt.Range(%22B%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22G1%22).Value%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20'Copy%20Date%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wt.Range(%22A%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22G2%22).Value%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20'Copy%20Company%20Name%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wt.Range(%22C%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22D3%22).Value%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20'%20Clear%20Item%20Name%20and%20Item%20Quantity%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ws.Range(%22D15%3AE39%22).ClearContents%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20'%20Optional%3A%20clear%20Invoice%20Number%2C%20Date%20and%20Company%20Name%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ws.Range(%22D3%2CG1%3AG2%22).ClearContents%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Application.ScreenUpdating%20%3D%20True%3C%2FP%3E%3CP%3EEnd%20Sub%3C%2FP%3E%3CP%3ETHIS%20IS%20INVOICE%20Sheet%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%22691%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2272%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2276%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22247%22%3EINVOICE%3C%2FTD%3E%3CTD%20width%3D%2291%22%3EInvoice%20%23%3A%3C%2FTD%3E%3CTD%20width%3D%2281%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2284%22%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3EInvoice%20Date%3C%2FTD%3E%3CTD%3E09-05-2022%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3ECUSTOMER%3A%3C%2FTD%3E%3CTD%3E%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%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3ETotal%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E868%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20INVOICELIST%20Sheet%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%222646%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2272%22%3EINVOICE%20NO%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2272%22%3EDATE%3C%2FTD%3E%3CTD%20width%3D%2284%22%3ECONSUMER%20NAME%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2242%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2242%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2242%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2242%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2248%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2248%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2248%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2248%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2248%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2248%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2248%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2248%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2249%22%3EItem%20NAME%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EQTY%3C%2FTD%3E%3CTD%20width%3D%2272%22%3EVALUE%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3344291%22%20slang%3D%22en-US%22%3ERe%3A%20M.S.EXCEL%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3344291%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1383603%22%20target%3D%22_blank%22%3E%40TARUNKANTI1964%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20the%20row%20with%20INVOICE%20and%20Invoice%20%23%20row%201%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3348594%22%20slang%3D%22en-US%22%3ERe%3A%20M.S.EXCEL%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3348594%22%20slang%3D%22en-US%22%3EYES%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3349568%22%20slang%3D%22en-US%22%3ERe%3A%20M.S.EXCEL%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3349568%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1383603%22%20target%3D%22_blank%22%3E%40TARUNKANTI1964%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20your%20first%20post%2C%20the%20data%20on%20the%20INVOICE%20sheet%20were%20in%20rows%2015%20to%2039.%20Now%20they%20are%20in%20rows%2012%20to%2036.%3C%2FP%3E%0A%3CP%3EThe%20total%20on%20the%20INVOICE%20sheet%20is%20in%20H44%20instead%20of%20H45%2C%20and%20on%20the%20INVOICELIST%20sheet%20in%20column%20BB%20instead%20of%20AZ.%3C%2FP%3E%0A%3CP%3EThe%20invoice%20number%20on%20the%20INVOICE%20sheet%20is%20in%20F1%20instead%20of%20in%20G1%2C%20and%20on%20the%20INVOICELIST%20in%20column%20A%20instead%20of%20in%20column%20B.%3C%2FP%3E%0A%3CP%3EThe%20invoice%20date%20has%20moved%20too.%3C%2FP%3E%0A%3CP%3ESo%20the%20code%20must%20be%20adjusted.%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-visual-basic%22%3E%3CCODE%3ESub%20SaveData()%0A%20%20%20%20Dim%20ws%20As%20Worksheet%0A%20%20%20%20Dim%20wt%20As%20Worksheet%0A%20%20%20%20Dim%20s%20As%20Long%0A%20%20%20%20Dim%20t%20As%20Long%0A%20%20%20%20Dim%20r%20As%20Long%0A%20%20%20%20Application.ScreenUpdating%20%3D%20False%0A%20%20%20%20Set%20ws%20%3D%20Worksheets(%22INVOICE%22)%0A%20%20%20%20Set%20wt%20%3D%20Worksheets(%22INVOICELIST%22)%0A%20%20%20%20'%20Find%20first%20empty%20row%20in%20columns%20D%3AAL%20on%20sheet%20INVOICELIST%0A%20%20%20%20t%20%3D%20wt.Range(%22D%3AAY%22).Find(What%3A%3D%22*%22%2C%20SearchOrder%3A%3DxlByRows%2C%20SearchDirection%3A%3DxlPrevious).Row%20%2B%201%0A%20%20%20%20'%20Copy%20Item%20Name%20and%20Item%20Quantity%0A%20%20%20%20For%20s%20%3D%201%20To%2025%0A%20%20%20%20%20%20%20%20wt.Cells(t%2C%202%20*%20s%20%2B%202).Value%20%3D%20ws.Range(%22D%22%20%26amp%3B%20s%20%2B%2011).Value%0A%20%20%20%20%20%20%20%20wt.Cells(t%2C%202%20*%20s%20%2B%203).Value%20%3D%20ws.Range(%22E%22%20%26amp%3B%20s%20%2B%2011).Value%0A%20%20%20%20Next%20s%0A%20%20%20%20wt.Range(%22BB%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22H44%22).Value%0A%20%20%20%20'Copy%20inv%20no%0A%20%20%20%20wt.Range(%22A%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22F1%22).Value%0A%20%20%20%20'Copy%20Date%0A%20%20%20%20wt.Range(%22B%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22G2%22).Value%0A%20%20%20%20'Copy%20Company%20Name%0A%20%20%20%20wt.Range(%22C%22%20%26amp%3B%20t).Value%20%3D%20ws.Range(%22D3%22).Value%0A%20%20%20%20'%20Clear%20Item%20Name%20and%20Item%20Quantity%0A%20%20%20%20ws.Range(%22D12%3AE36%22).ClearContents%0A%20%20%20%20'%20Optional%3A%20clear%20Invoice%20Number%2C%20Date%20and%20Company%20Name%0A%20%20%20%20ws.Range(%22D3%2CF1%2CG2%22).ClearContents%0A%20%20%20%20Application.ScreenUpdating%20%3D%20True%0AEnd%20Sub%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3356037%22%20slang%3D%22en-US%22%3ERe%3A%20M.S.EXCEL%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3356037%22%20slang%3D%22en-US%22%3ERespected%20Mr.%20Hans%20Vogelaar%3CBR%20%2F%3EMany%20Many%20Thanks%20to%20You%20for%20Your%20Valuable%20TIPS%20for%20me.%20Again%20Thank%20You%20Sir.%3CBR%20%2F%3EI%20shall%20be%20highly%20Obliged%20to%20You%20For%20help%20me.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi, I am completely beginner for EXCEL VBA, here I have created an Excel work book having Three worksheets, where I would like to enter data in cells range "D15:D39" as 'ITEM NAME' and in cells range "E15:E39" as 'ITEM QUANTITY' in the “INVOICE” Sheet along with "SAVE" Button. When I press “SAVE” button on “INVOICE” Sheet, and then that data range from (D15:D39) as 'ITEM NAME' , (E15:E39) as 'ITEM QUANTITY' and cell value of "H45" as 'TOTAL INVOICE AMOUNT' from "INVOICE SHEET" would be transferred to Column cells "D2:AY2" of "INVOICE LIST" sheet, to Cell No. "D2","F2","H2","J2","L2","N2","P2","R2","T2","V2","X2","Z2","AB2","AD2","AF2","AH2","AJ2",”AL2”,”AN2”,”AP2”,”AR2”,”AT2””AV2”,”AX2”  as 'ITEM NAME'    

and to Cell no

"E2","G2","I2","K2","M2","O2","Q2","S2","U2","W2","Y2","AA2","AC2","AE2","AG2","AI2","AK2",”AM2”,”AO2”,”AQ2”,”AS2”,”AU2”,”AW2”,”AY2”,as 'ITEM QUANTITY'  and to cell no "AZ2" as 'TOTAL INVOICE AMOUNT' and contains of schedule cell of “INVOICE” Sheet would be clear except FORMULA. Then if I enter again data to Cell range "D15:D39" and Cell range "E15:E39" in my "INVOICE" Sheet for create new invoice and press the SAVE button on "INVOICE" Sheet I would need the contains of "INVOICE" Sheet would be transfer except FORMULA to "INVOICE LIST" Sheet to the next available blank row "D3:AY3", and “AZ3”, and every time when I press the "SAVE Button" the event would be continuing to happen as above frequently. but it not works. May I get help to correct the same I have Code which i wrote as below

 

Sub SaveData()

    Dim ws As Worksheet

    Dim wt As Worksheet

    Dim r As Long

    Application.ScreenUpdating = False

    Set ws = Worksheets("INVOICE")

    Set wt = Worksheets("INVOICELIST")

    ' Find first empty row in columns D:AL on sheet INVOICELIST

    r = wt.Range("D:AY").Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row + 1

    wt.Range("D" & r).Resize(1, 25).Value = Application.Transpose(ws.Range("D15:D39"))

    r = wt.Range("D:AY").Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row + 1

    wt.Range("E" & r).Resize(1, 25).Value = Application.Transpose(ws.Range("E15:E39"))

    wt.Range("AZ" & r).Value = ws.Range("H45").Value

   

    'Copy inv no

Sheets("INVOICELIST").Range("B" & r).Value = Sheets("INVOICE").Range("G1").Value

'Copy Date

Sheets("INVOICELIST").Range("A" & r).Value = Sheets("INVOICE").Range("G2").Value

'Copy Company Name

Sheets("INVOICELIST").Range("C" & r).Value = Sheets("INVOICE").Range("D3").Value

r = r + 1

    Application.ScreenUpdating = True

End Sub

7 Replies
best response confirmed by TARUNKANTI1964 (Occasional Contributor)
Solution

@TARUNKANTI1964 

Not bad for a beginner, you were almost there!

Try this:

Sub SaveData()
    Dim ws As Worksheet
    Dim wt As Worksheet
    Dim s As Long
    Dim t As Long
    Dim r As Long
    Application.ScreenUpdating = False
    Set ws = Worksheets("INVOICE")
    Set wt = Worksheets("INVOICELIST")
    ' Find first empty row in columns D:AL on sheet INVOICELIST
    t = wt.Range("D:AY").Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row + 1
    ' Copy Item Name and Item Quantity
    For s = 1 To 25
        wt.Cells(t, 2 * s + 2).Value = ws.Range("D" & s + 14).Value
        wt.Cells(t, 2 * s + 3).Value = ws.Range("E" & s + 14).Value
    Next s
    wt.Range("AZ" & t).Value = ws.Range("H45").Value
    'Copy inv no
    wt.Range("B" & t).Value = ws.Range("G1").Value
    'Copy Date
    wt.Range("A" & t).Value = ws.Range("G2").Value
    'Copy Company Name
    wt.Range("C" & t).Value = ws.Range("D3").Value
    ' Clear Item Name and Item Quantity
    ws.Range("D15:E39").ClearContents
    ' Optional: clear Invoice Number, Date and Company Name
    ws.Range("D3,G1:G2").ClearContents
    Application.ScreenUpdating = True
End Sub
Respected Mr. Hans Vogelaar
Excellent! i have no language , what to say thank You. I am trying to use Your Tips, and I think it will work for me. Again I thank You.
shall be Your most obidient.

@TARUNKANTI1964 

 

Respected Mr. Hans Vogelaar

a while ago i got Your tips and i used them in my excel project, but that is not working properly. That's why i reposted that matter for getting help from You. if there is any mistake by me please forgive me.

VBA CODE:

Sub SaveData()

    Dim ws As Worksheet

    Dim wt As Worksheet

    Dim s As Long

    Dim t As Long

    Dim r As Long

    Application.ScreenUpdating = False

    Set ws = Worksheets("INVOICE")

    Set wt = Worksheets("INVOICELIST")

    ' Find first empty row in columns D:AL on sheet INVOICELIST

    t = wt.Range("D:AY").Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row + 1

    ' Copy Item Name and Item Quantity

    For s = 1 To 25

        wt.Cells(t, 2 * s + 2).Value = ws.Range("D" & s + 14).Value

        wt.Cells(t, 2 * s + 3).Value = ws.Range("E" & s + 14).Value

    Next s

    wt.Range("AZ" & t).Value = ws.Range("H45").Value

    'Copy inv no

    wt.Range("B" & t).Value = ws.Range("G1").Value

    'Copy Date

    wt.Range("A" & t).Value = ws.Range("G2").Value

    'Copy Company Name

    wt.Range("C" & t).Value = ws.Range("D3").Value

    ' Clear Item Name and Item Quantity

    ws.Range("D15:E39").ClearContents

    ' Optional: clear Invoice Number, Date and Company Name

    ws.Range("D3,G1:G2").ClearContents

    Application.ScreenUpdating = True

End Sub

THIS IS INVOICE Sheet

 

   INVOICEInvoice #:1 
     Invoice Date09-05-2022 
 CUSTOMER: MAYNA    
        
        
        
        
        
        
        
 Sr.No.HSN CODEITEM NAMEQtyUnit PriceTotal Value 
 1 ABCD1011110 
 2 ABCD5511605 
 3      
 4      
 5 EFGH179153 
 6      
 7      
 8      
 9      
 10      
 11      
 12      
 13      
 14      
 15      
 16      
 17      
 18      
 19      
 20      
 21      
 22      
 23      
 24      
 25      
        
    Sub Total  
        
    Tax   
        
    Discount  
        
    Total  868

 

This is INVOICELIST Sheet

 

INVOICE NO DATECONSUMER NAMEItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYItem NAMEQTYVALUE

@TARUNKANTI1964 

Is the row with INVOICE and Invoice # row 1?

YES

@TARUNKANTI1964 

In your first post, the data on the INVOICE sheet were in rows 15 to 39. Now they are in rows 12 to 36.

The total on the INVOICE sheet is in H44 instead of H45, and on the INVOICELIST sheet in column BB instead of AZ.

The invoice number on the INVOICE sheet is in F1 instead of in G1, and on the INVOICELIST in column A instead of in column B.

The invoice date has moved too.

So the code must be adjusted.

Sub SaveData()
    Dim ws As Worksheet
    Dim wt As Worksheet
    Dim s As Long
    Dim t As Long
    Dim r As Long
    Application.ScreenUpdating = False
    Set ws = Worksheets("INVOICE")
    Set wt = Worksheets("INVOICELIST")
    ' Find first empty row in columns D:AL on sheet INVOICELIST
    t = wt.Range("D:AY").Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row + 1
    ' Copy Item Name and Item Quantity
    For s = 1 To 25
        wt.Cells(t, 2 * s + 2).Value = ws.Range("D" & s + 11).Value
        wt.Cells(t, 2 * s + 3).Value = ws.Range("E" & s + 11).Value
    Next s
    wt.Range("BB" & t).Value = ws.Range("H44").Value
    'Copy inv no
    wt.Range("A" & t).Value = ws.Range("F1").Value
    'Copy Date
    wt.Range("B" & t).Value = ws.Range("G2").Value
    'Copy Company Name
    wt.Range("C" & t).Value = ws.Range("D3").Value
    ' Clear Item Name and Item Quantity
    ws.Range("D12:E36").ClearContents
    ' Optional: clear Invoice Number, Date and Company Name
    ws.Range("D3,F1,G2").ClearContents
    Application.ScreenUpdating = True
End Sub
Respected Mr. Hans Vogelaar
Many Many Thanks to You for Your Valuable TIPS for me. Again Thank You Sir.
I shall be highly Obliged to You For help me.