Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro name changes
When I tried to run a macro from a button today, it said something like "name
not recognized". I noticed my macro name had changed from: "MatchUnits" to "WorkbookName.xls!MatchUnits.MatchUnits" Does anyone know why this happened and what I can do to fix it? I am an infrequent and fairly inexperienced macro "programmer". Thank you!! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro name changes
That happens when you name the module the same as one of your macros. Try
changing the name of your module to something else, like modMatchUnits. "Cornelia" wrote: When I tried to run a macro from a button today, it said something like "name not recognized". I noticed my macro name had changed from: "MatchUnits" to "WorkbookName.xls!MatchUnits.MatchUnits" Does anyone know why this happened and what I can do to fix it? I am an infrequent and fairly inexperienced macro "programmer". Thank you!! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro name changes
One other thing, if it still doesn't run, try reassigning the macro to the
button. Sometimes when copying/pasting and moving things around, the buttons can get linked to an old workbook, and not your new workbook. "Cornelia" wrote: When I tried to run a macro from a button today, it said something like "name not recognized". I noticed my macro name had changed from: "MatchUnits" to "WorkbookName.xls!MatchUnits.MatchUnits" Does anyone know why this happened and what I can do to fix it? I am an infrequent and fairly inexperienced macro "programmer". Thank you!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
Need syntax for RUNning a Word macro with an argument, called from an Excel macro | Excel Programming | |||
how to count/sum by function/macro to get the number of record to do copy/paste in macro | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |