Print Marco with a Combo Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 
Sub MyPrintMacro()
Activesheet.Printout
End Sub

or

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top