Forum Discussion
LGray1380
Oct 04, 2022Copper Contributor
Help with Merge and Print
I have a spreadsheet that is used to generate timesheets for our employees, which is Sheet2. I've linked to our accounting system and populated Sheet1. This is what I need to happen....for each rec...
LGray1380
Oct 04, 2022Copper Contributor
Now I get "Run-time error '1004': Application-defined or object-defined error on row 8 in macro
HansVogelaar
Oct 04, 2022MVP
Are you sure that the error occurs on line 8?
Are Sheet1 and Sheet2 the real names of your two sheets?
- LGray1380Oct 04, 2022Copper ContributorYes, those are the name of the sheets, "Sheet1" has the results of the data query using ODBC with employee name in Column 2; "Sheet2" has the timesheet template. Line 8 is the line it has highlighted.
- HansVogelaarOct 04, 2022MVP
That's weird. Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar? Alternatively, you can attach it to a private message to me. Thanks in advance.