Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Copy and Paste Macro Help please....

Can be shortened to and can be done without any selections from anywhere.

Sheet1.Range("H3:H10").Copy Sheets("Sheet2").Range("A1")

--
Don Guillett
SalesAid Software

"andy F" wrote in message
...
Hi All,

I have just managed to figure it out using the following:

Sheets("Sheet1").Select
Sheet1.Range("H3:H10").Select
Selection.Copy
Sheets("Sheet2").Select
Range("A1").Select
ActiveSheet.Paste

How would I convert this to select a different workbook that was say in
a location of C:\folder\filename.xls

Many Thanks


---
Message posted from
http://www.ExcelForum.com/



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
Copy and Paste Macro Schwimms Excel Discussion (Misc queries) 1 February 4th 09 05:10 PM
Using Macro to Copy/Paste LucyN Excel Discussion (Misc queries) 5 October 22nd 08 07:18 PM
copy and paste using macro kate Excel Discussion (Misc queries) 3 May 22nd 07 07:41 PM
HELP with macro for copy and paste RedOctagon Excel Discussion (Misc queries) 0 October 13th 06 02:54 PM
copy/paste macro PLN Excel Programming 2 July 21st 03 10:15 PM


All times are GMT +1. The time now is 11:45 PM.

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

About Us

"It's about Microsoft Excel"