LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 303
Default before print

Thanks Jim,

That line is already there and is the stumbling block.
The system just doesn't want to select that sheet
when I call the sub via a macro with a print instruction which should call
the "before print" routine from the "this workbook" .
The sheet does get selected if I use the normal file/print/ of the excel
tool bar.

Regards
Bill K


"Jim Thomlinson" wrote in message
...
Add this line

sheets("Schedule").select

"Bill Kuunders" wrote:

I've had a macro "fixdates" to fix up a column on a "schedule" sheet for
some time now.
The macro is in a general module as I need to use it after edits.
The macro also gets called in the this workbook --before print.--

Last night I created a new sheet and a macro to print it.

The before print "fixdates" is again called but it does not select the
"schedule" sheet it does the edit part of the macro on the new "label "
sheet in stead.

Using F8 shows me that the "fixdates" macro just does not select the
schedule sheet.

Got me stumped!

Regards

Bill K





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print and Print Preview Graphic Moving Resizing 2007/2003 Adam Rayburn Excel Discussion (Misc queries) 0 April 4th 07 04:18 PM
cell borders that I create dont show on print preview or print scott3435 Excel Discussion (Misc queries) 2 April 6th 06 02:37 AM
Pivot Table macro to set print area and print details of drill down data Steve Haskins Excel Discussion (Misc queries) 2 December 28th 05 04:59 PM
Active cell counting in particular print page (one sheet having different print area) ananthmca2004 Excel Worksheet Functions 1 November 24th 05 11:29 AM
Need Help w/ Print Macro to Print All Visible Sheets (including Charts) in a Workbook will Excel Programming 3 September 23rd 04 08:05 PM


All times are GMT +1. The time now is 02:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"