LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 465
Default Using pop up boxes to supply a variable within a macro


Hi

I have a piece of code as part of a macro which subtracts 1 from a value
in cell D2

ActiveCell.FormulaR1C1 = "=RC[1]-1"

Sometimes , I need to vary this number. Rather than open the macro and
change the code each time , is it possible to program a popup to request
the value of the variable , and once executed proceed with the rest of
the macro?

Any help appreciated.



Best Wishes
 
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 boxes: toggle on/off Peter Excel Discussion (Misc queries) 1 October 5th 07 09:34 AM
Macro Boxes Peter Excel Discussion (Misc queries) 4 October 5th 07 12:34 AM
Macro Boxes Peter Excel Discussion (Misc queries) 0 October 4th 07 06:06 PM
Entering Variable Text in Text Boxes...... Steve Jones Excel Discussion (Misc queries) 3 June 14th 07 02:34 PM
Macro that can run combo boxes simonsmith Excel Discussion (Misc queries) 0 June 5th 06 05:00 PM


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