You should dim "Sht" as worksheet and not object.
Also this code will work only when you select MS-Office -> Print.
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]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks