#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default macro active sheet

I have two worksheet. the second worksheet name "Financial" had one cell
link to first worksheet name FC_Rank
when the user select a factor on the first worksheet that factor name link
to cell A3 on the second sheet (=Financial!!A4) this name will lookup the
data and put in the correct format.

My question How can have a Macro when the user click the second worksheet
(FC_Rank tab) the format will change immediatley to the format i want?
Example 1 :
sale $
CY PY Chg to PY % Inc/dec
$100.00 $75.00 $25.00 33.3 % %
$456.00 500.00 -$44.00 11.23%
Example 2
Gas Gallon
CY PY Chg to PY % Inc/dec
1000.00 950.00 50.00 5.25%

Thanks

Liem
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default macro active sheet

Rather than using a macro, why not manually format the second sheet the way
you want? Then leave it thay way.

If you insist on using a macro, the easiest way is to turn on macro
recording, make the changes you want, then turn off recording and save the
macro.

Regards,
Fred

"liem" wrote in message
...
I have two worksheet. the second worksheet name "Financial" had one cell
link to first worksheet name FC_Rank
when the user select a factor on the first worksheet that factor name link
to cell A3 on the second sheet (=Financial!!A4) this name will lookup the
data and put in the correct format.

My question How can have a Macro when the user click the second worksheet
(FC_Rank tab) the format will change immediatley to the format i want?
Example 1 :
sale $
CY PY Chg to PY % Inc/dec
$100.00 $75.00 $25.00 33.3 % %
$456.00 500.00 -$44.00 11.23%
Example 2
Gas Gallon
CY PY Chg to PY % Inc/dec
1000.00 950.00 50.00 5.25%

Thanks

Liem


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
macro to find cell content in sheets and make sheet active Nigel Excel Discussion (Misc queries) 4 June 26th 14 02:38 PM
list sheet names vertically below the active cell - need macro. Eddy Stan Excel Worksheet Functions 2 September 28th 07 07:48 PM
copy name from active sheet to cell - using macro or function dymek Excel Worksheet Functions 2 October 2nd 06 12:32 PM
Macro to run on the "Active Sheet" David P. Excel Discussion (Misc queries) 8 April 11th 06 07:42 PM
How to change macro so it performs actions on ACTIVE sheet? Tom9283 Excel Discussion (Misc queries) 6 April 15th 05 07:32 AM


All times are GMT +1. The time now is 03:48 AM.

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"