Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using a macro to make selection in a drop down menu

Help!

-----Original Message-----
Hi everyone,

I'm trying to record a macro to print off all my sales
reports. When i record the macro it doesn't record the
part where i make a selection from my drop-down. So it
ends up looking like this....

ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True

Which just ends up printing out the same page a bunch of
times. Does anyone know how i can tell excel in the

macro
how to make a selection in a drop down?

Thanks for any help!

- RJ
.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Using a macro to make selection in a drop down menu

What kind of dropdown

A dropdown from the forms toolbar
A combobox from the Control Toolbox Toolbar
Using Data Validation using the list option

what version of Excel must this work on?

--
Regards,
Tom Ogilvy

"Ryan Graf" wrote in message
...
Help!

-----Original Message-----
Hi everyone,

I'm trying to record a macro to print off all my sales
reports. When i record the macro it doesn't record the
part where i make a selection from my drop-down. So it
ends up looking like this....

ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=2, Collate _
:=True

Which just ends up printing out the same page a bunch of
times. Does anyone know how i can tell excel in the

macro
how to make a selection in a drop down?

Thanks for any help!

- RJ
.



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
Drop down list - how doo I make selection disapear? Tore Excel Discussion (Misc queries) 4 January 26th 09 01:38 PM
Drop dwn menu. Formula to count selection frm menu in anoth cell? ggoldber Excel Worksheet Functions 1 June 4th 08 02:21 PM
how to make a menu selection in the same cell? Eve Excel Discussion (Misc queries) 1 March 29th 06 08:29 PM
Hiding a cell's drop-down menu, dependent on a tick-box selection... mintos Excel Discussion (Misc queries) 1 February 9th 06 02:13 PM
need to populate several cells based on drop down menu selection TerriF Excel Discussion (Misc queries) 1 May 18th 05 10:27 PM


All times are GMT +1. The time now is 05:28 PM.

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

About Us

"It's about Microsoft Excel"