I have created an Excel user form that uses VBA code to push the form data into a hidden worksheet within the existing workbook when the user clicks a command button. Once the data is pushed to the worksheet a print dialog box pops up so the user can select a printer to print the form to. This has been working fine for most users, however I learned recently that some users at a particular location are receiving the following errors message when they click the command button:
Run-time error '1004':
Method 'Worksheets' of object '_Global' failed
I have been unable to troubleshoot this issue.
Below is the code that I am using:
Bookmarks