Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default printing related code question

hello

This question is related to a different one I asked yesterday. I have a
button (from form toolbar) that I use to open a report in Print Preview
mode:

With Worksheets("PrintRpts")
.PrintOut copies:=PrintNumber, preview:=PrntPrev
End With

Actually there are several such buttons opening different variations of the
report. To help me keep track of which reports have been printed, I'd like
to change the text color on the button (from ColorIndex 11 to ColorIndex 3),
but ONLY if the report is actually printed. Currently the button changes
color when the button is clicked, even if I then cancel the preview.

Any clues how to do this?
Thanks, anny



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default printing related code question

Perpahs open up a Message Box that asks the user if it printed sucessfully.
If true then change the color of the button

"anny" wrote:

hello

This question is related to a different one I asked yesterday. I have a
button (from form toolbar) that I use to open a report in Print Preview
mode:

With Worksheets("PrintRpts")
.PrintOut copies:=PrintNumber, preview:=PrntPrev
End With

Actually there are several such buttons opening different variations of the
report. To help me keep track of which reports have been printed, I'd like
to change the text color on the button (from ColorIndex 11 to ColorIndex 3),
but ONLY if the report is actually printed. Currently the button changes
color when the button is clicked, even if I then cancel the preview.

Any clues how to do this?
Thanks, anny




Reply
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
Lookup related question Craig Excel Worksheet Functions 1 June 23rd 09 04:48 PM
Another Date related question.... Pete Dray Excel Worksheet Functions 7 June 18th 06 11:49 PM
Input Box Related Question Barb Reinhardt Excel Programming 2 January 19th 06 06:02 PM
I have a VB related question,... javabeens Excel Programming 1 June 7th 05 05:51 PM
Macro related question Webem0ch Excel Programming 6 May 3rd 04 06:37 PM


All times are GMT +1. The time now is 03:55 PM.

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"