+ Reply to Thread
Results 1 to 3 of 3

VBA Match function-using activeworksheet instead of worksheet name

  1. #1
    Registered User
    Join Date
    06-25-2010
    Location
    michigan
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question VBA Match function-using activeworksheet instead of worksheet name

    Good aftrnoon and thank you in advance for any help.

    I have created a code that I am using in a combobox to pull information into my userform from a worksheet. I am using the match function for a specific worksheet. What I would like to do, is be able to use the match function to pull the information into my userform based on the the current active worksheet, instead of having to specify the worksheet and creating a userform for each month (which right now is the only way I can think of because I can't seem to figure that part out My workbook is set up by month. Here is the code I created. Any help would be much apprecitated. TY...Sandy


    Please Login or Register  to view this content.
    Last edited by sandyh; 06-28-2010 at 02:19 PM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: VBA Match function-using activeworksheet instead of worksheet name

    Just use

    Please Login or Register  to view this content.
    and so on

  3. #3
    Registered User
    Join Date
    06-25-2010
    Location
    michigan
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: VBA Match function-using activeworksheet instead of worksheet name

    Thank you very much Bob. That has solve my problem.

+ 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