Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Finding the Size of a Range in an Unopened Worksheet

Can I enquire on the size of a range in an unopened worksheet?

The line below doesn't work:
J = Workbooks("C:
\MyTables.XLS").Worksheets("cs_Tables").Range("CS_ Names").Rows.Count


Thanks in advance,

Greg

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Finding the Size of a Range in an Unopened Worksheet

Ahhh .. Never mind ... I'll just open it READ ONLY instead (was
worried about it being locked if another user tried to open it).

Regards

Greg


On Jan 31, 3:45 pm, "Greg Glynn" wrote:
Can I enquire on the size of a range in an unopened worksheet?

The line below doesn't work:
J = Workbooks("C:
\MyTables.XLS").Worksheets("cs_Tables").Range("CS_ Names").Rows.Count

Thanks in advance,

Greg



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
Importing unopened worksheet into an open Workbook GrayesGhost Excel Discussion (Misc queries) 24 July 3rd 08 10:06 PM
Referencing Range in UnOpened Workbook Vlado Sveda Excel Programming 7 May 31st 06 09:49 AM
Testing an unopened (or opened) worksheet for VBA Project protected Ken Loomis Excel Programming 1 July 18th 05 01:18 PM
How can I embed a file as an unopened object in a worksheet or wo. Goat Boy Excel Discussion (Misc queries) 1 January 4th 05 11:58 PM
Copy a range of cells in an unopened workbook and paste it to the current workbook topstar Excel Programming 3 June 24th 04 12:50 PM


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