ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel - create button to replace cell content with cell value (https://www.excelbanter.com/excel-worksheet-functions/59224-excel-create-button-replace-cell-content-cell-value.html)

blackmot

Excel - create button to replace cell content with cell value
 
I frequently wish to replace the formulas in a cell(s) with the values.
Currently this requires several steps. Although I could shorten this by
creating a macro, I would suggest that this is a common operation for many
users and creation of a standard function for this would be valuable. Many
users could not create the required macro.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions

Peo Sjoblom

Excel - create button to replace cell content with cell value
 
That's far too dangerous, if you can live with ctrl + C and then click on an
icon you can do viewtoolbarscustomize and in the commands tab
select edit under categories and under commands scroll down to an icon with
12 on it and drag it to the menu, then close the customize window
However having an icon that would turn formulas into values with just a
click is not good IMHO

--

Regards,

Peo Sjoblom

"blackmot" wrote in message
...
I frequently wish to replace the formulas in a cell(s) with the values.
Currently this requires several steps. Although I could shorten this by
creating a macro, I would suggest that this is a common operation for many
users and creation of a standard function for this would be valuable.

Many
users could not create the required macro.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow

this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.


http://www.microsoft.com/office/comm...et.f unctions



blackmot

Excel - create button to replace cell content with cell value
 
That is what Ctrl-Z is for. I use it extensively :) Just don't save without
thinking about whether you are happy with it or not.

"Peo Sjoblom" wrote:

That's far too dangerous, if you can live with ctrl + C and then click on an
icon you can do viewtoolbarscustomize and in the commands tab
select edit under categories and under commands scroll down to an icon with
12 on it and drag it to the menu, then close the customize window
However having an icon that would turn formulas into values with just a
click is not good IMHO

--

Regards,

Peo Sjoblom

"blackmot" wrote in message
...
I frequently wish to replace the formulas in a cell(s) with the values.
Currently this requires several steps. Although I could shorten this by
creating a macro, I would suggest that this is a common operation for many
users and creation of a standard function for this would be valuable.

Many
users could not create the required macro.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow

this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.


http://www.microsoft.com/office/comm...et.f unctions




vezerid

Excel - create button to replace cell content with cell value
 
Ctrl_Z will not work after running a macro, thus you have to rethink
Peo's comments.
Still, if you want a macro which will replace all formulas of a
selection to values, use this:

Sub FormulasToValues()
' Assumes the desired range has been selected first
Dim c as Range
For each c in Selection
c.FormulaR1C1 = c.Value
next c
End Sub

HTH
Kostis Vezerides



All times are GMT +1. The time now is 05:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com