Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pasting Data
Is there an easier way to write the below code?
Worksheets(1).Range("C3").Select ActiveSheet.Paste I tried to do this and it failed. Worksheets(1).Range("C3").Paste Thanx todd huttenstine |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pasting Data
You don't have to select
Try this that copy the active cell ActiveCell.Copy Worksheets(1).Range("C3") -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Todd Huttenstine" wrote in message ... Is there an easier way to write the below code? Worksheets(1).Range("C3").Select ActiveSheet.Paste I tried to do this and it failed. Worksheets(1).Range("C3").Paste Thanx todd huttenstine |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pasting Data
I meant I wanted to paste whats already copied in the cell
C3. -----Original Message----- You don't have to select Try this that copy the active cell ActiveCell.Copy Worksheets(1).Range("C3") -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Todd Huttenstine" wrote in message news:08c501c3b849$35d87f10 ... Is there an easier way to write the below code? Worksheets(1).Range("C3").Select ActiveSheet.Paste I tried to do this and it failed. Worksheets(1).Range("C3").Paste Thanx todd huttenstine . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pasting Data
Sub PASTEIT()
ActiveCell = [B1] End Sub -- Don Guillett SalesAid Software "Todd Huttenstine" wrote in message ... Is there an easier way to write the below code? Worksheets(1).Range("C3").Select ActiveSheet.Paste I tried to do this and it failed. Worksheets(1).Range("C3").Paste Thanx todd huttenstine |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pasting Data
Sub TestPaste()
Worksheets(1).Paste Destination:=Worksheets(1).Range("C3") End Sub -- Regards, Tom Ogilvy "Todd Huttenstine" wrote in message ... Is there an easier way to write the below code? Worksheets(1).Range("C3").Select ActiveSheet.Paste I tried to do this and it failed. Worksheets(1).Range("C3").Paste Thanx todd huttenstine |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pasting data from Excel | New Users to Excel | |||
MATCHING AND PASTING DATA | Excel Discussion (Misc queries) | |||
Why does data validation not work when pasting data into a cell. | Excel Discussion (Misc queries) | |||
Pasting on Filtered Data Sheets without pasting onto hidden cells | Excel Discussion (Misc queries) | |||
pasting data and macros | Excel Discussion (Misc queries) |