Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy and Paste Cell
I get an error on this code when it trys to select the new cell reference,
can someone help me refer to the cell correctly? Thanks. Private Sub CommandButton1_Click() Dim rw As Long rw = Range("T5").Value Sheets("Adj. Savings").Select Worksheets("Adj. Savings").Range("B1").Copy Worksheets("Savings History").Range("B" & rw).Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy and paste according to cell value | Excel Discussion (Misc queries) | |||
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell | Excel Worksheet Functions | |||
Select cell, Copy it, Paste it, Return to Previous cell | Excel Discussion (Misc queries) | |||
Copy and Paste macro needs to paste to a changing cell reference | Excel Programming | |||
how to copy and paste cell as a value. | Excel Programming |