LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Is it possible to choose a macro based upon a valve of a variable??

I have written 6 macros and want to choose to use 1 of them depending upon
the value of “n” in cell A1

If “n” = 1 through 20 use Macro 1
If “n” = 21 through 40 use Macro 2
If “n” = 41 through 60 use Macro 3
If “n” = 61 through 80 use Macro 4
If “n” = 81 through 100 use Macro 5
If “n” = 100 use Macro 6

Is this possible??


 
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
Sum cells based on a row variable and seperate column variable CheeseHeadTransplant Excel Worksheet Functions 10 September 23rd 05 06:59 PM
listing values to choose from based on value in another cell MT Excel Discussion (Misc queries) 1 September 12th 05 01:37 PM
Choose data from a particular column based on a specific value markx Excel Worksheet Functions 1 July 15th 05 06:55 PM
Run MACRO from the valve of a cell? FX Boudreaux Excel Programming 2 August 12th 04 08:07 AM
How to pass valve in combobox object to cell chanon Excel Programming 3 October 15th 03 04:25 AM


All times are GMT +1. The time now is 09:28 AM.

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"