Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a button on a worksheet that uses code to place the
information in the proper cells. As part of the code I actually have the formula that would go directly into the cell. Upon using the button, all works. But, I need to have the formula removed and only the info sitting in the cell. I thought I had the solution until I used it on a range of cells. Ouch, that was an error on my part. What is the range().??? = range().??? that emliminates the formulas but retains the info in the cell? Thanks in advance to anyone responding. *** John |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
John
one way: With Selection .Copy .PasteSpecial _ Paste:=xlValues, _ Operation:=xlNone, _ SkipBlanks:=False, _ Transpose:=False End With Regards Trevor "JohnE" wrote in message ... I have a button on a worksheet that uses code to place the information in the proper cells. As part of the code I actually have the formula that would go directly into the cell. Upon using the button, all works. But, I need to have the formula removed and only the info sitting in the cell. I thought I had the solution until I used it on a range of cells. Ouch, that was an error on my part. What is the range().??? = range().??? that emliminates the formulas but retains the info in the cell? Thanks in advance to anyone responding. *** John |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
John
following on JE's approach: With Selection .Value = .Value End With Much neater and quicker Regards Trevor "Trevor Shuttleworth" wrote in message ... John one way: With Selection .Copy .PasteSpecial _ Paste:=xlValues, _ Operation:=xlNone, _ SkipBlanks:=False, _ Transpose:=False End With Regards Trevor "JohnE" wrote in message ... I have a button on a worksheet that uses code to place the information in the proper cells. As part of the code I actually have the formula that would go directly into the cell. Upon using the button, all works. But, I need to have the formula removed and only the info sitting in the cell. I thought I had the solution until I used it on a range of cells. Ouch, that was an error on my part. What is the range().??? = range().??? that emliminates the formulas but retains the info in the cell? Thanks in advance to anyone responding. *** John |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Are you thinking of
With range(...) .Value = .Value End With ??? In article , "JohnE" wrote: I have a button on a worksheet that uses code to place the information in the proper cells. As part of the code I actually have the formula that would go directly into the cell. Upon using the button, all works. But, I need to have the formula removed and only the info sitting in the cell. I thought I had the solution until I used it on a range of cells. Ouch, that was an error on my part. What is the range().??? = range().??? that emliminates the formulas but retains the info in the cell? Thanks in advance to anyone responding. *** John |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
REMOVING FORMULAS | Excel Discussion (Misc queries) | |||
REMOVING WORKBOOK'S ALL FORMULAS | Excel Discussion (Misc queries) | |||
vlookup - removing formulas | Excel Discussion (Misc queries) | |||
How do I go about finding and removing labels in formulas? | Excel Discussion (Misc queries) | |||
Removing labels and names in formulas | Excel Discussion (Misc queries) |