Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
LT LT is offline
external usenet poster
 
Posts: 13
Default Print Marco with a Combo Box

How do I use the print macro with a combo box? I can get the macro to run,
but it wont change the combo box to reflect a new selection.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Print Marco with a Combo Box

What does all this mean. What "print macro"

--
Regards,
Tom Ogilvy


"LT" wrote:

How do I use the print macro with a combo box? I can get the macro to run,
but it wont change the combo box to reflect a new selection.

  #3   Report Post  
Posted to microsoft.public.excel.programming
LT LT is offline
external usenet poster
 
Posts: 13
Default Print Marco with a Combo Box

I'm creating a macro that will print a report. The macro is assigned to a
text box. The report has a combo box with a list of different parameters
that will feed the report depending on what you choose. I'm trying to create
a macro that will print when the text box is selected. So, I'm trying to
create a print macro that will work with a combo box.

"Tom Ogilvy" wrote:

What does all this mean. What "print macro"

--
Regards,
Tom Ogilvy


"LT" wrote:

How do I use the print macro with a combo box? I can get the macro to run,
but it wont change the combo box to reflect a new selection.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Print Marco with a Combo Box

Sub MyPrintMacro()
Activesheet.Printout
End Sub

or

Sub MyPrintMacro()
Range(Activesheet.Combobox1.Value).Printout
End Sub

--
Regards,
Tom Ogilvy


"LT" wrote in message
...
I'm creating a macro that will print a report. The macro is assigned to a
text box. The report has a combo box with a list of different parameters
that will feed the report depending on what you choose. I'm trying to

create
a macro that will print when the text box is selected. So, I'm trying to
create a print macro that will work with a combo box.

"Tom Ogilvy" wrote:

What does all this mean. What "print macro"

--
Regards,
Tom Ogilvy


"LT" wrote:

How do I use the print macro with a combo box? I can get the macro to

run,
but it wont change the combo box to reflect a new selection.



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
combo/text box print issue Kim K Excel Discussion (Misc queries) 7 September 29th 06 08:21 PM
Marco print issue!!! richardderrick Excel Programming 1 May 30th 06 12:58 PM
Stop my "combo box" from changing locations after print previewin. murphytsa Excel Discussion (Misc queries) 2 February 17th 06 06:37 PM
How do I print combo box drop down lines? hellma Excel Discussion (Misc queries) 1 April 12th 05 08:32 PM
Print the results of the combo box Hank Hendrix Excel Programming 1 April 18th 04 02:02 AM


All times are GMT +1. The time now is 09:04 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"