+ Reply to Thread
Results 1 to 5 of 5

Global Variable

Hybrid View

  1. #1
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,891

    Re: Global Variable

    1) where is the above code placed ? It's wise (if not required?) to declare public variables in standard module.
    2) is really combobox1 value one of the expected values (does msgbox show?) if not (msgbox shows) you do not have the option to re-assign proper value - just do all activation-related tasks and close form
    Best Regards,

    Kaper

  2. #2
    Registered User
    Join Date
    12-04-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Global Variable

    Thanks. I got the mistake. The above codes are in a form module and not in standard module.

    Regards.

    Vivekchha

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Global variable declared in Userform. Variable value is not sticking
    By timtim89 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-25-2012, 08:50 AM
  2. Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  3. Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  4. Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  5. Replies: 0
    Last Post: 09-05-2005, 11:05 PM

Tags for this Thread

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