Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default using object range to call up worksheets

Why won't this work?

For Each a In DataSheet
a.Select
--
Nicole
BI Programmer/Analyst
Consultant
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default using object range to call up worksheets

As what data types are 'a' and 'DataSheet' declared?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Nicole" wrote in message
...
Why won't this work?

For Each a In DataSheet
a.Select
--
Nicole
BI Programmer/Analyst
Consultant


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default using object range to call up worksheets

What is DataSheet? If yo want to loop through the worksheets then something
like this perhaps

dim a as Worksheet

for each a in Worksheets
a.Select
next a
--
HTH...

Jim Thomlinson


"Nicole" wrote:

Why won't this work?

For Each a In DataSheet
a.Select
--
Nicole
BI Programmer/Analyst
Consultant

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
call Module from MS Excel Object - Probably very easy VB questions Kevin Excel Discussion (Misc queries) 4 January 4th 08 02:32 AM
Can't call Excel Services UDF from macro, object not found error swordsman Excel Programming 0 June 13th 07 10:31 PM
Recordset object loses validity in call between function & subrout Dick Kusleika[_3_] Excel Programming 1 August 13th 04 08:22 AM
call the object of scanner... sal21[_15_] Excel Programming 1 March 2nd 04 01:47 PM
Range object to Array object conversion Tom Ogilvy Excel Programming 0 August 1st 03 12:16 AM


All times are GMT +1. The time now is 12:02 PM.

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"