Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 237
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 237
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pasting data from Excel David New Users to Excel 2 February 23rd 09 11:11 PM
MATCHING AND PASTING DATA arepemko via OfficeKB.com Excel Discussion (Misc queries) 0 September 6th 06 06:37 PM
Why does data validation not work when pasting data into a cell. rjshelby Excel Discussion (Misc queries) 1 July 31st 06 09:08 PM
Pasting on Filtered Data Sheets without pasting onto hidden cells CCSMCA Excel Discussion (Misc queries) 1 August 28th 05 01:22 PM
pasting data and macros kidd golfer Excel Discussion (Misc queries) 0 May 23rd 05 11:09 PM


All times are GMT +1. The time now is 03:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"