find and replace all error message

A

Annemarie

I am trying to create a macro that finds and replaces all cells with the text
"strongly disagree" with the number 1. When I click replace all, I get this
error message:

microsoft office excel cannot find any data to replace. check if your search
formatting and criteria are defined correctly. if you are sure that matching
data exists in this workbook, it may be on a protected sheet. excel cannot
replace data on a protected worksheet.

I'm able to replace one cell at a time, but then I may miss some when I add
new data. If I can do replace all, I don't have to worry about missing any.

Any ideas?
 
A

Annemarie

I didn't code anything, I only used the Record Macro option and it records
what I do.
 
A

Annemarie

Also, whether I'm running a macro or not, if i just do a regular find and
replace all, i get that error.
 

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