hi guys
i have a very simple macro
but i need a warning box to come up warning me that i need to put headed paper into the paper trayPlease Login or Register to view this content.
any ideas gratefully received
regards
hi guys
i have a very simple macro
but i need a warning box to come up warning me that i need to put headed paper into the paper trayPlease Login or Register to view this content.
any ideas gratefully received
regards
Put a line such as:
before the actual print code.Please Login or Register to view this content.
Ben Van Johnson
whereabouts proton cheers for the reply
can anyone help?
would be appreciated
Please Login or Register to view this content.
once again thanks for the reply proton and its exactly what i want but after i click ok it then gives me a run time error 1004
youve entered too many arguments for this function
any ideas???
anyone please?
i really need this done by tonight
regards
Please delete the '---- lines and the '<<<, etc.
The only line you need to add is:
In this case all you need is a short phrase in quotes after MSGBOXPlease Login or Register to view this content.
proton
really appreciate your help but still getting the same messsage
bump bump
i would be more than grateful if someone could help me with this
hi Steve,
From your comment that the error is "youve entered too many arguments for this function", it appears that one of your ExecuteExcel4Macro strings has too many commas in it. If you open up the VBE, click in the text between Sub & "End sub" & press [F8] to step through the code, which line of code does it actually error on & highlight?
Try deleting a comma here or there & see what happens ;-)
Why are you using an "ExecuteExcel4Macro" statement, rather than printing directly from your file using the normal code for Printing which you can probably get by recording a macro of your manual actions?
hth
Rob
Rob Brockett
Kiwi in the UK
Always learning & the best way to learn is to experience...
hi broro
thanks so much for your help
i didnt know you could do that and it helped a lot i now have this working well .
it was a case of too may punctuations
many many thanks
Pleased I could help - thanks for the feedback :-)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks