'= back to = so formulas are now operational

sheetspread

Well-known Member
Joined
Sep 19, 2005
Messages
5,160
I had cells filled with formulas, and used find/replace to turn the = signs to '= to reveal the formulas, great. Then I did the editing I needed to keep the format in order. Now I try to find/replace the '= back to plain old = signs and it won't let me. What's the solution?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
An easier solution is to goto Tools-->Options-->Formulas to view the formulas. or CTRL+~.

HTH,

Smitty
 
Upvote 0
Yes Smitty, but...............

I wasn't trying to view the formulas, I wanted to keep them from changing when I deleted certain rows. Everything worked great, but now I have to erase each ' individually to get the formulas back, which will take forever (# of rows>1000).
 
Upvote 0
My mistake.

From the MSKB:

<font face=Tahoma><SPAN style="color:#00007F">Sub</SPAN> ApostroRemove()
    <SPAN style="color:#00007F">For</SPAN> <SPAN style="color:#00007F">Each</SPAN> currentcell <SPAN style="color:#00007F">In</SPAN> Selection
        <SPAN style="color:#00007F">If</SPAN> currentcell.HasFormula = <SPAN style="color:#00007F">False</SPAN> <SPAN style="color:#00007F">Then</SPAN>
            <SPAN style="color:#007F00">'Verifies that procedure does not change the</SPAN>
            <SPAN style="color:#007F00">'cell with the active formula so that it contains</SPAN>
            <SPAN style="color:#007F00">'only the value.</SPAN>
            currentcell.Formula = currentcell.Value
        <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN>
    <SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN>
</FONT>

Smitty
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,684
Members
448,977
Latest member
dbonilla0331

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top