Please Help - Macro Error for 2003 User

Illryion

New Member
Joined
Apr 9, 2013
Messages
2
All -

Thanks for the help. I have a sheet designed in Excel 2010 which I have distributed to a number of users, using 2003, 2007 and 2010. Most users are able to work without a problem, but I have a couple of 2003 users having an issue with a Print Macro.

The Macro is a simple one -

Sub PrintQuote()
'
' PrintQuote Macro
'


'
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False
End Sub

For the users having an issue, when they press the button associated with this Macro - they receive the following error - '((#REF.xls could not be found. Check the spelling of the file name, and verify that the file location is correct.

When they go to run the Macro manually - they receive - "Compile Error: Named argument not found."

Help? Any idea on what's different between users?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
They are probably using a different printer. It does not support a Collate argument.
 
Upvote 0
Hate shooting in the dark. But I'll fire another round.

If it isn't a difference in the printer, then it has to be something in the sheet itself.

What happens if you simply hit the print button on their computer? If that is all the code in the macro there is not much that can be wrong.

The error message seems to indicate that there is something on the sheet that is referencing another XLS workbook. Is it possible that there is a network drive mapping that is not lining up so that they are not finding it?
 
Upvote 0

Forum statistics

Threads
1,203,691
Messages
6,056,756
Members
444,889
Latest member
ibbara

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top