ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   what's the difference between Activate and Select for Worksheet? (https://www.excelbanter.com/excel-programming/344122-whats-difference-between-activate-select-worksheet.html)

lvcha.gouqizi

what's the difference between Activate and Select for Worksheet?
 
Hi,

As I know that after

worksheets("****").Select, then we can use
ActiveSheet.**** to do anything.

But how about the Activate method? Can we use

Worksheets("****").Activate
ActiveSheet.****

in the way?

thanks.


Bob Phillips[_6_]

what's the difference between Activate and Select for Worksheet?
 
You can activate a worksheet. If you look up Activate in VBA help, you will
get a full explanation.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"lvcha.gouqizi" wrote in message
oups.com...
Hi,

As I know that after

worksheets("****").Select, then we can use
ActiveSheet.**** to do anything.

But how about the Activate method? Can we use

Worksheets("****").Activate
ActiveSheet.****

in the way?

thanks.





All times are GMT +1. The time now is 02:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com