+ Reply to Thread
Results 1 to 3 of 3

Variable that retains value after closing excel

Hybrid View

Guest Variable that retains value... 11-22-2005, 12:15 PM
Guest Re: Variable that retains... 11-22-2005, 12:30 PM
Guest Re: Variable that retains... 11-22-2005, 12:30 PM
  1. #1
    Sandy
    Guest

    Variable that retains value after closing excel

    Is it possible to force a variable to retain its value after closing excel.
    In other words when excel is opened next time the value of the variable at
    close is retained?
    Sandy



  2. #2
    Don Guillett
    Guest

    Re: Variable that retains value after closing excel

    One way is to store in a cell somewhere

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "Sandy" <sandy_stephen@DELETEhotmail.com> wrote in message
    news:ONItq937FHA.476@TK2MSFTNGP15.phx.gbl...
    > Is it possible to force a variable to retain its value after closing
    > excel. In other words when excel is opened next time the value of the
    > variable at close is retained?
    > Sandy
    >




  3. #3
    Norman Jones
    Guest

    Re: Variable that retains value after closing excel

    Hi Sandy,

    Amongst a number of possibilities, you could write the variable's value to a
    defined name in the Workbook_BeforeClose procedure and read it in the
    Workbook_Open event; alternatively, you could write the value to a (hidden?)
    sheet. Other possibilites would include wtiting the value to the registry or
    a Workbook property.


    ---
    Regards,
    Norman



    "Sandy" <sandy_stephen@DELETEhotmail.com> wrote in message
    news:ONItq937FHA.476@TK2MSFTNGP15.phx.gbl...
    > Is it possible to force a variable to retain its value after closing
    > excel. In other words when excel is opened next time the value of the
    > variable at close is retained?
    > Sandy
    >




+ 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