PC Review


Reply
Thread Tools Rate Thread

Activate Sheet Best Practice (Y/N?) when xFer data between sheets?

 
 
EagleOne@discussions.microsoft.com
Guest
Posts: n/a
 
      3rd Jul 2007
2007 (2003 compatability)


When data is being transferred to/from worksheets in the same wb, is it a best practice or a waste
of time to actually issue wks1.activate then wks2.activate then wks1.activate, etc?

The actual transfers are being accomplished using:

wks1.activate <----- Is this smart or a waste?
With wks1
.Range("A1").value = wks2.Range("A11").value
.Range("A2").value = wks2.Range("A27").value
.Range("A3").value = wks2.Range("A42").value
.Range("A4").value = wks2.Range("A53").value
.Range("A5").value = wks2.Range("A78").value
End With

TIA EagleOne

 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      3rd Jul 2007

A waste

--
Don Guillett
SalesAid Software
(E-Mail Removed)
<(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> 2007 (2003 compatability)
>
>
> When data is being transferred to/from worksheets in the same wb, is it a
> best practice or a waste
> of time to actually issue wks1.activate then wks2.activate then
> wks1.activate, etc?
>
> The actual transfers are being accomplished using:
>
> wks1.activate <----- Is this smart or a waste?
> With wks1
> .Range("A1").value = wks2.Range("A11").value
> .Range("A2").value = wks2.Range("A27").value
> .Range("A3").value = wks2.Range("A42").value
> .Range("A4").value = wks2.Range("A53").value
> .Range("A5").value = wks2.Range("A78").value
> End With
>
> TIA EagleOne
>


 
Reply With Quote
 
EagleOne@discussions.microsoft.com
Guest
Posts: n/a
 
      3rd Jul 2007
Thanks Don,

Yep! I figured that - But - I was concerned that I may be missing something.

"Don Guillett" <(E-Mail Removed)> wrote:

>
>A waste

 
Reply With Quote
 
 
 
Reply

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
Create new sheets based off Data sheet, and template sheet Midget Microsoft Excel Programming 2 1st May 2007 09:55 PM
Replacing data in a row of sheet1 with data in a row of sheet 2 based on a field in both sheets being the same? banderson@nwws.biz Microsoft Excel Programming 1 31st Aug 2006 08:08 PM
search all sheets in book to find value and activate sheet with va =?Utf-8?B?TmlnZWw=?= Microsoft Excel Programming 3 22nd Nov 2005 08:43 AM
Crash when using 'Sheets("Sheet").Activate' Mikey May Microsoft Excel Misc 1 5th Dec 2003 12:59 AM
MSNMessenger6.0 not works for file xfer & webcam xfer dsds Windows XP Messenger 0 25th Jul 2003 08:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:39 PM.