Macro error I cant solve

L

Leith Ross

I have a macro the keeps falling over at the line:-

ActiveSheet.Shapes("Object 1").Select

The error message is:-

Run-time error '-214724809 (80070057)':
The item with the specified name wasn't found.

Any ideas ?

--
Rich

http://www.richdavies.com

http://www.richdavies.com/fishkeeping.htm

Hello Rich,

Did you rename your shape to "Object 1"? Most shape objects have
descriptive names like
"Square 1", "Circle 5", etc. To check the name, click on the shape and
look at the name drop down box next to the Formula Bar.

Sincerely,
Leith Ross
 
R

Rich

Leith Ross said:
Hello Rich,

Did you rename your shape to "Object 1"? Most shape objects have
descriptive names like
"Square 1", "Circle 5", etc. To check the name, click on the shape and
look at the name drop down box next to the Formula Bar.

Sincerely,
Leith Ross

Thanks Leith,

Now I understand this relates to the excel shape name, the shape function
wasn't really need so I've deleted the lines that go with it and all is
fine.

Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top