Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a sheet that has about 40,000 rows and each row contains a formula in
column "W" (23). I need to convert the formula to values. My current code follows: ActiveSheet.UsedRange.Columns(23).Select Selection.Copy Selection.PasteSpecial Paste:=xlPasteValues Although the above works, I'm sure there is a more efficient method that could be written in a single line of code. Can anyone help me out? Thanks much in advance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use something like
With ActiveSheet.UsedRange.Columns(23) .Value = .Value End With -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "quartz" wrote in message ... I have a sheet that has about 40,000 rows and each row contains a formula in column "W" (23). I need to convert the formula to values. My current code follows: ActiveSheet.UsedRange.Columns(23).Select Selection.Copy Selection.PasteSpecial Paste:=xlPasteValues Although the above works, I'm sure there is a more efficient method that could be written in a single line of code. Can anyone help me out? Thanks much in advance. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks.
"Chip Pearson" wrote: Use something like With ActiveSheet.UsedRange.Columns(23) .Value = .Value End With -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "quartz" wrote in message ... I have a sheet that has about 40,000 rows and each row contains a formula in column "W" (23). I need to convert the formula to values. My current code follows: ActiveSheet.UsedRange.Columns(23).Select Selection.Copy Selection.PasteSpecial Paste:=xlPasteValues Although the above works, I'm sure there is a more efficient method that could be written in a single line of code. Can anyone help me out? Thanks much in advance. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
with ActiveSheet.UsedRange.Columns(23) .value=.value end with "quartz" wrote: I have a sheet that has about 40,000 rows and each row contains a formula in column "W" (23). I need to convert the formula to values. My current code follows: ActiveSheet.UsedRange.Columns(23).Select Selection.Copy Selection.PasteSpecial Paste:=xlPasteValues Although the above works, I'm sure there is a more efficient method that could be written in a single line of code. Can anyone help me out? Thanks much in advance. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks.
"Frank Kabel" wrote: Hi with ActiveSheet.UsedRange.Columns(23) .value=.value end with "quartz" wrote: I have a sheet that has about 40,000 rows and each row contains a formula in column "W" (23). I need to convert the formula to values. My current code follows: ActiveSheet.UsedRange.Columns(23).Select Selection.Copy Selection.PasteSpecial Paste:=xlPasteValues Although the above works, I'm sure there is a more efficient method that could be written in a single line of code. Can anyone help me out? Thanks much in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
can you change the default paste method? (paste values) | Excel Discussion (Misc queries) | |||
Most efficient method in Excel? Mouse or Keyboard keys? | Excel Discussion (Misc queries) | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) | |||
Looking for faster method for Copy & Paste | Excel Programming | |||
How do i compare values from two sheet and copy & paste if values match? | Excel Programming |