Trying to change the picture name in VBA is giving me permission error

  • Thread starter Thread starter kenji4861
  • Start date Start date
K

kenji4861

I have something like this

Sheet1.Shapes(i).Name = "picture" + cstr(i)

But it gives me an permission error (70)

Anyway around this
 
That should work unless that name already belongs to another shape. I get a
permission denied error too in that case.
 

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

Back
Top