Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Macro options in Excell 2003

I have a workbook that has 4 worksheets in the workbook. On Worksheet 1
there is a list of products that we sell. On Worksheet 2 is a contract that
customers will sign, that will have all information selected on Worksheet 1.
Worksheet 3 Has all the prices.

Our salesmen fill out worksheet 1 of all the items needed to be sold to the
customer. Worksheet 2 looks at those items and has a macro built that will
pull the description of the product over and then calculates the price
depending on the number of items sold and the price per item on Worksheet 3.
Worksheet 2 then calculates a total price. Worksheet 1 has a cell that
looks for the total price from worksheet 2.

The macro is built so that it will pull the items from worksheet 1 and place
them in specific spots on worksheet 2, worksheet 2 then calculates the price
and then imputs that price on worksheet 1. Worksheet 1 is given to the
customer as a quote.

the problem i am having is worksheet 2 does not perform the macro until it
is viewed, which is messing up the price on worksheet 1.

My question is: Is there anyway to tell the workbook or worksheet to
perform the macro without viewing worksheet 2?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Macro options in Excell 2003

You probably need this at the top of the sub:
Sheets("Sheet1").Activate

I use this too because some of my sheets may be xlSheetVeryHidden
Sheets("Sheet1").Visible = True
Sheets("Sheet1").Activate

Regards,
Ryan---


--
RyGuy


"Joshua" wrote:

I have a workbook that has 4 worksheets in the workbook. On Worksheet 1
there is a list of products that we sell. On Worksheet 2 is a contract that
customers will sign, that will have all information selected on Worksheet 1.
Worksheet 3 Has all the prices.

Our salesmen fill out worksheet 1 of all the items needed to be sold to the
customer. Worksheet 2 looks at those items and has a macro built that will
pull the description of the product over and then calculates the price
depending on the number of items sold and the price per item on Worksheet 3.
Worksheet 2 then calculates a total price. Worksheet 1 has a cell that
looks for the total price from worksheet 2.

The macro is built so that it will pull the items from worksheet 1 and place
them in specific spots on worksheet 2, worksheet 2 then calculates the price
and then imputs that price on worksheet 1. Worksheet 1 is given to the
customer as a quote.

the problem i am having is worksheet 2 does not perform the macro until it
is viewed, which is messing up the price on worksheet 1.

My question is: Is there anyway to tell the workbook or worksheet to
perform the macro without viewing worksheet 2?

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
Fill Options for 2007 Excell Chart Watson Excel Discussion (Misc queries) 5 May 20th 08 10:39 PM
Excell 2007 version. Shpe fill options ecoeng Excel Discussion (Misc queries) 4 November 29th 07 10:10 AM
cannot select options in AutoShapes in Excell Scott Excel Discussion (Misc queries) 1 March 3rd 07 02:35 AM
will macro created in excell 2003 work if run using 2000 Michael Soares Excel Discussion (Misc queries) 2 September 11th 06 05:34 PM
excell 2003 low macro secutiy changing is not staying in low djruby14 Excel Discussion (Misc queries) 3 February 15th 06 07:47 PM


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