+ Reply to Thread
Results 1 to 4 of 4

problem running macro with drop down

  1. #1
    Registered User
    Join Date
    11-24-2006
    Posts
    3

    problem running macro with drop down

    Im using excel 2003 on XP

    im trying to run a macro for an excel file and one of the steps involves selecting an option from a drop down list. however whenever i try to record this step it is not recorded in the macro, there is no code generated for it.

    the file im working on was created by someone else. the drop down menu doesnt appear like a standard drop down menu though. It produces a menu with only "assign macro" and "format control" options. there seems to be no option to edit the code behind it. does anyone know how this was created and how i can record a macro for it?

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning dannymc

    ...and welcome to the forum.

    The macro recorder won't record actions that manipulate user defined objects. If that object has an effect on another cell a VB variable (eg, changes cell A1 to True) then you must capture that change.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    11-24-2006
    Posts
    3
    thanks dominic

    how do i capture that change?

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Hi dannymc

    You really need to post more information for a more relevant answer but sticking with my example. place the word "Why" without quotes in cell A1 and run the macro. Then change A1to "When" and run it again. Any other word will not illicit a response :

    Please Login or Register  to view this content.
    HTH

    DominicB

+ 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