Excel 2010 Assign Macro to Shape Error

I have a simple Excel file with 6 shapes on a sheet.  I need to assign macros to each shape.

The shapes are named A001, B001, B002, C001, C002, and C003.

I am able to successfully assign Macros to A001, B001 and B002.

Why can't I assign the macros to C001, C002 and C003 ?

Attached is an excel file with the shapes and the macros.
EE_Sample01_20150923.xlsm
LVL 13
Jeff DarlingDeveloper AnalystAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Saurabh Singh TeotiaCommented:
Jeff,

What i can find out that it's not able to refer to the name C001 to C003 correctly and giving a weird formula error..Now if i change the same to actual name it works without any problem which is diagram name and so on it does what you are looking for..

Enclosed is your workbook for your reference..

Saurabh...
EE_Sample01_20150923.xlsm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SteveCommented:
I believe it is having a problem with the names of the C shapes being reserved words.
Renaming them fixes it either way.
Copy-of-EE_Sample01_20150923.xlsm
0
SteveCommented:
Sorry, didn't see Saurabh had answered it.
0
Jeff DarlingDeveloper AnalystAuthor Commented:
workaround to rename the sub routines works.  curious what Microsoft was thinking here...
0
SteveCommented:
There are a bunch of "reserved" words and acronyms. Some obvious, some no so much.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.