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: 22
Default storing a value in code


NEWBIE question:

I run code that retrieves an integer value 'hidden' in a cell on one of my
worksheets. The code uses thus value, then increments it by 1 before
storing the new value back in the 'hidden' cell. Next time I run the code,
it uses the incremented value even if I've closed and reopened the
application. All works well, but....

I'd rather store the value in the code, not in the 'hidden' cell. (so I can
better disallow certain values and manipulate other ones.) How can I store
the value in the code so that it increments as desired but doesn't reset
everytime I open the application?

much thanks
Ginger



 
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
storing macros ? Tim[_7_] Excel Discussion (Misc queries) 2 October 26th 07 02:54 AM
Storing a value to variable CLamar Excel Discussion (Misc queries) 0 June 16th 06 04:46 PM
storing value's ashw1984 Excel Programming 1 January 29th 06 04:20 PM
storing of VBA code kurt Excel Programming 4 January 13th 06 06:27 PM
Storing Data in code? (relative primes to MOD as example) jasonsweeney[_86_] Excel Programming 3 August 22nd 05 12:44 AM


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