I am a beginner trying to maintain my business data using Excel. I created a macro that copies the information from a sales info table and pastes it into an adjacent table that records the customer's name, items bought, total sales, etc. But when I rerun it the next row is not being used and it copies over itself every time. Can anyone help me with this issue?
This is my current Macro
This is my current Macro
VBA Code:
Macro4 Macro
'
'
Range("B1").Select
Selection.Copy
Range("N3").Select
ActiveSheet.Paste
Range("Table1[QTY SOLD]").Select
Application.CutCopyMode = False
Selection.Copy
Range("O3").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
Range("F33").Select
Application.CutCopyMode = False
Selection.Copy
Range("AR3").Select
Selection.PasteSpecial Paste:=xlPasteAllUsingSourceTheme, Operation:=xlNone _
, SkipBlanks:=False, Transpose:=False
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Selection.NumberFormat = "$ #,##0.00"
End Sub
Attachments
Last edited by a moderator: