Can't paste picture while Protect Sheet is on...

G

groundhog1

I am trying to paste a picture file (.bmp,.jpg) into some unprotected cells
using a macro. But, if I have protection on in a different area of the
spreadsheet, the picture doesn't come in. It only works if the whole sheet
is unprotected.

Now this same program was working before. I made some changes to a
seemingly unrelated part of the program, and now it doesn't work.

Anybody know what this is or how to get around it?

Thanks,
groundhog
 
G

groundhog1

I figured it out.
I just coded the program to turn off protection while I pasted and then
turned it on again.
duhh.
Thanks,
gh
 

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