Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Print Macro For Drop Down

I have a drop box menu that allows users to selecta region - North, South,
West, East and grand Total. When they select from the drop box, the formula
in the spreadsheet totals orders/sales for that region only (by looing at
other sheeets in the workbook.

I have created 5 separate form buttons that say "Print South Data"
and"PrintGrand Total".

So , when a user clicks the "South Data" button, it prints just the south
data from th edropdown. The issue I am having is that the Macro prints the
Active sheet in the drop box, not the one I want.

Any ideas?

Thanks,
Tom
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Print Macro For Drop Down

The macro will print whatever sheet your code asks for.

How do your formulas return the data for "Print South Data" and where is that
data located?

If on another sheet, that is the sheet you want to print so select it.

If you posted your code we might get a better idea of how to direct it to the
proper location.


Gord Dibben MS Excel MVP

On Tue, 12 Jun 2007 10:34:01 -0700, tojo107
wrote:

I have a drop box menu that allows users to selecta region - North, South,
West, East and grand Total. When they select from the drop box, the formula
in the spreadsheet totals orders/sales for that region only (by looing at
other sheeets in the workbook.

I have created 5 separate form buttons that say "Print South Data"
and"PrintGrand Total".

So , when a user clicks the "South Data" button, it prints just the south
data from th edropdown. The issue I am having is that the Macro prints the
Active sheet in the drop box, not the one I want.

Any ideas?

Thanks,
Tom


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Print Macro For Drop Down

2 - This represents the drop box- 1 south, 2 east etc.
LOB All stats are in thousands
Weeks
Orders
Actual Budgeted
Jan 31-Dec 1 5 6 -
07-Jan 2 5 5
14-Jan 3 6 6
21-Jan 4 6 7


The data for Actuals/Budgeted is pulled from a data sheet(One for actual,
one for budget) depending what the user selected in the drop box menu.with
this formula (HLOOKUP($C7,Actual!$AF$183:$DE$188,$A$1+1,0)/1000).

I am creating a separate "Printing" worksheet where the Print Macros will
reside. I want the a single print macro to print all options from the drop
menu regardless of the Active choice.


Thanks,
Tom



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
Print Macro for Drop Box tojo107 Excel Discussion (Misc queries) 0 April 25th 07 05:32 PM
print and print preview not active in file drop down Bjorne Excel Discussion (Misc queries) 2 March 21st 06 06:36 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
Macro to open print window and set to print entire workbook retseort Excel Discussion (Misc queries) 1 October 27th 05 11:00 PM
Create a print macro that would automatically select print area? wastedwings Excel Worksheet Functions 7 August 22nd 05 10:36 PM


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