How to resolve Run-time Error '1004':Method 'Range' of Object_Worksheet' failed
Xin Yuan Lee
0
Reputation points
I am trying to create an automated invoice that can save and update the details by using VBA code but i got the error "Run-time Error '1004':Method 'Range' of Object_Worksheet' failed" on this code:
Invlist.Cells(InvRow, InvCol).Value = .Range(Invlist.Cells(1, InvCol).Value).Value 'Save Invoice List Data
My full code is in the picture above Does anyone knows how to solve the error? Thank you
Microsoft 365 and Office Development Other
4,374 questions
Microsoft 365 and Office Excel For business Windows
3,889 questions
Sign in to answer