+ Reply to Thread
Results 1 to 3 of 3

Store variable values in macro code

  1. #1
    Forum Contributor
    Join Date
    01-15-2010
    Location
    Jhb, South Africa
    MS-Off Ver
    2007, 2010, 2016
    Posts
    275

    Store variable values in macro code

    Afternoon all,

    I am working on a concept of storing values of variables in macros code on a permanent basis.

    Or put in another way, I'd prefer not to have my values obtained from macro calculations to be stored in an excel sheet, as the sheets can be deleted by an uninformed user.

    I also need these values to be obtainable at a later stage, thus the storage need to be of a permanent sort.

    Is this possible in any way?

    Thanks in advance.
    Last edited by romperstomper; 03-15-2011 at 04:21 AM. Reason: Mark solved
    Jacques


  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: Store variable values in macro code

    You can store the values in,

    - worksheet. Hide and protect if you do not want users to see/alter the values.
    - names
    - workbook custom properties
    - external data file
    - registry
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    01-15-2010
    Location
    Jhb, South Africa
    MS-Off Ver
    2007, 2010, 2016
    Posts
    275

    Re: Store variable values in macro code

    Hi Andy,

    Thanks, storing values in names is just what I was looking for.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1