Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default Copy/pasting between 2 workbooks...

Joe,

Does this do what you want?

Dim sFile As String

sFile = Format(Date, "dddmmddyy")
Workbooks("Tracking-" & sFile).Worksheets(1).Range("A1:A100").Copy
Workbooks("CallResults-" &
sFile).Worksheets(1).Range("A1:A100").PasteSpecial Paste:=xlValues


--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Joe Chavera" wrote in message
...
Two questions:

1. How do you copy and paste special between two workbooks
when the name of the workbooks change everyday.
Ex: On Wednesday, we copy assorted cells
from - Tracking-Wed072303.xls
to - CallResults-Wed072303.xls

Now tomorrow, we copy and paste special between the
same cells but the workbooks are named differently.
from - Tracking-Thu072403.xls
to - CallResults-Thu072403xls.




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
macro for copy-pasting from different workbooks Binty Excel Worksheet Functions 1 November 25th 08 03:29 PM
Copy/ move selected data from workbooks to seperate worksheets or workbooks Positive Excel Worksheet Functions 1 August 30th 07 04:54 PM
Pasting a formula in many different workbooks Playa Excel Discussion (Misc queries) 3 July 18th 06 05:57 PM
Copying and Pasting between Workbooks NothingButRomance Excel Worksheet Functions 0 May 13th 05 09:54 PM
Copying and Pasting between Workbooks NothingButRomance Excel Worksheet Functions 0 May 13th 05 07:33 PM


All times are GMT +1. The time now is 04:24 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"