+ Reply to Thread
Results 1 to 4 of 4

global variables

Hybrid View

Guest global variables 11-16-2005, 03:40 PM
Guest Re: global variables 11-16-2005, 03:55 PM
Guest Re: global variables 11-16-2005, 04:10 PM
Guest Re: global variables 11-16-2005, 07:50 PM
  1. #1
    Kooshesh@gmail.com
    Guest

    global variables

    How can I set the default value of a global variable?


  2. #2
    Tom Ogilvy
    Guest

    Re: global variables

    You can initialize a constant:

    Const Myvar As Long = 6

    but for a variable, you would need to run a procedure to initialize it.

    --
    Regards,
    Tom Ogilvy


    <Kooshesh@gmail.com> wrote in message
    news:1132169884.163004.293840@o13g2000cwo.googlegroups.com...
    > How can I set the default value of a global variable?
    >




  3. #3
    Kooshesh@gmail.com
    Guest

    Re: global variables

    yar! oh well thanks!


  4. #4
    Jim Thomlinson
    Guest

    Re: global variables

    Intitilize the variable in the Workbook open procedure... Then it will be
    intialized from the moment the sheet is opened...
    --
    HTH...

    Jim Thomlinson


    "Kooshesh@gmail.com" wrote:

    > yar! oh well thanks!
    >
    >


+ 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