Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy value only...Copy Destination:=Cells(3, 2)
Can this formula be modified to copy the value only?
Range(Cells(500 - SizeX, 3), Cells(500, 3)).Copy Destination:=Cells(3, 2) I am attempting go avoid using this code... Selection.Copy Range("B3").Select ActiveSheet.Paste Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy value only...Copy Destination:=Cells(3, 2)
Hi
To do what you want to do you need to split it over 2 lines. Certainly more efficiten than your second example. take care Marcus Range(Cells(500 - sizex, 3), Cells(500, 3)).Copy Cells(3, 2).PasteSpecial xlPasteValues |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy value only...Copy Destination:=Cells(3, 2)
Another way is to just assign the values:
With activesheet 'I like qualifying my ranges! with .Range(.Cells(500 - SizeX, 3), .Cells(500, 3)) .Cells(3,2).resize(.rows.count,.columns.count).val ue = .value end with end with Fan924 wrote: Can this formula be modified to copy the value only? Range(Cells(500 - SizeX, 3), Cells(500, 3)).Copy Destination:=Cells(3, 2) I am attempting go avoid using this code... Selection.Copy Range("B3").Select ActiveSheet.Paste Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False Thanks -- Dave Peterson |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy value only...Copy Destination:=Cells(3, 2)
Thanks Marcus & Dave
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy Source Cells to Destination Cells Only when a Change Occurs | Excel Discussion (Misc queries) | |||
Copy destination | Excel Programming | |||
formulas do not copy to destination cells, but as existing totals | Excel Worksheet Functions | |||
Help with copy destination | Excel Programming | |||
VBA .copy destination | Excel Discussion (Misc queries) |