PDA

View Full Version : Solved: running macro runs the wrong macro



nicko
07-30-2008, 04:20 AM
Hi all,

I am having trouble running a macro.

Everytime I click to run it, it runs another macro instead.

Originally the two macros had similar names, "drag_formula" and "drag_formula1", I thought thats could be why it is getting confused. But i have now changed the name of the macro I am trying to run from "drag_formula1" to "Part2", but it is still running the wrong macro!

I've tried closing down and reopening but i'm still faced with the same problem.

Does anyone have any ideas?

many thanks,

Nicko

Mavyak
07-30-2008, 06:50 AM
Is a line of code in the "Part2" macro calling the "drag_formula" macro? If not, can you post the code?

nicko
07-30-2008, 07:01 AM
problem solved! a line of code was calling in the other macro.

Apologies I should have spotted it.

Many thanks,

Nicko