Hello,
Trying to use following code in excel 2010:
I cannot get it functioning. Please guide me.![]()
Please Login or Register to view this content.
![]()
Hello,
Trying to use following code in excel 2010:
I cannot get it functioning. Please guide me.![]()
Please Login or Register to view this content.
![]()
You should dim "Sht" as worksheet and not object.
Also this code will work only when you select MS-Office -> Print.
Last edited by arlu1201; 01-30-2013 at 08:41 AM.
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
Thanks for your guidance. Changed code to:
Still does not work.![]()
Please Login or Register to view this content.
When you say it does not work, what do you mean?
How are you running the code? Trying to run it from the menu bar? Or on a button click?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks