Hi all,
Odd situation here
I have the followiing VBA code working well when i open the Quote register file.
line_backup = Workbooks("Quote Register.xlsx").Worksheets("Data").Range("A2").End(xlDown).Row() + 1
Workbooks("Quote Register.xlsx").Worksheets("Data").Range("A" & line_backup).Value = Range("QuoteNo1") & Range("Rev").Value
However when i try automate it and have the same VBA code open the file with the code below it wont work. The file opens but that's about it
Workbooks.Open "C:\Users\me\Documents\Quote Register.xlsx"
line_backup = Workbooks("Quote Register.xlsx").Worksheets("Data").Range("A2").End(xlDown).Row() + 1
Workbooks("Quote Register.xlsx").Worksheets("Data").Range("A" & line_backup).Value = Range("QuoteNo1") & Range("Rev").Value
Bookmarks