PC Review


Reply
Thread Tools Rate Thread

Cost-effective copying

 
 
Yarroll
Guest
Posts: n/a
 
      23rd Apr 2004
Hello,

I run a copy routine on the daily basis, involving hundreds of Excel files
over many hours (one file gets opened, a corresponding files opened, cells
copied, save and close, next). The macro contains the following lines:

With Workbooks.Open(nam_1)
.Worksheets(1).Cells.Copy Destination:= _
fil.Worksheets(myVal).Cells
.Close
End With


Do you think I would be able to speed up the whole process if I do not copy
Cells (whole sheets), but UsedRange? Or Range("A1:Z" & last cell)? Or use
Resize?
Thanks. All the best,
Yarroll


 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      23rd Apr 2004
YES.

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"Yarroll" <(E-Mail Removed)> wrote in message
news:c6arvg$kvu$(E-Mail Removed)...
> Hello,
>
> I run a copy routine on the daily basis, involving hundreds of Excel files
> over many hours (one file gets opened, a corresponding files opened,

cells
> copied, save and close, next). The macro contains the following lines:
>
> With Workbooks.Open(nam_1)
> .Worksheets(1).Cells.Copy Destination:= _
> fil.Worksheets(myVal).Cells
> .Close
> End With
>
>
> Do you think I would be able to speed up the whole process if I do not

copy
> Cells (whole sheets), but UsedRange? Or Range("A1:Z" & last cell)? Or use
> Resize?
> Thanks. All the best,
> Yarroll
>
>



 
Reply With Quote
Reply

« jump to | Replace »
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best & Cost Effective.... getsimple Microsoft Word Document Management 0 1st Nov 2009 01:56 PM
Cost Effective Printer kg Printers 3 1st Jan 2007 04:39 PM
Are there any ink cost-effective all in one printers? Adrian Hjelmslund Printers 4 9th Sep 2006 12:24 AM
Most cost effective system for Beowulfing? AN O'Nymous Computer Hardware 0 15th Feb 2006 07:09 PM
Cost-effective toolbar? Yarroll Microsoft Excel Misc 1 6th Aug 2003 01:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:48 AM.