Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default General Question regarding passing cells, ranges, cell values through subs & functions

That could be a problem - putting all the arrays back onto the sheet -
The reason is this: For each set of 6 cells in 1 row there are 4
ranges that govern the allowable values. Since the relationships are
two-way, then in reality I might need 8 ranges - 1 sorted for each of
the two columns in each range. Then I'm likely to have upwards of 200
rows - each with one of the 6 cells. That means that I could need 1600
columns of ranges - that's probably not a good solution then. I'd
really need to find a way to assign the array values to a range then is
then used for validation. Is it not possible to define a range in VB
that never gets put to the worksheet?

  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default General Question regarding passing cells, ranges, cell values through subs & functions

No! A range is a worksheet object/property. It doesn't
exist otherwise. Unless you need hard copy, try processing
the arrays as arrays, else write the data to the sheet
using a relative offset for spacing. Excel nor vba care
about the size or the count.

-----Original Message-----
That could be a problem - putting all the arrays back

onto the sheet -
The reason is this: For each set of 6 cells in 1 row

there are 4
ranges that govern the allowable values. Since the

relationships are
two-way, then in reality I might need 8 ranges - 1 sorted

for each of
the two columns in each range. Then I'm likely to have

upwards of 200
rows - each with one of the 6 cells. That means that I

could need 1600
columns of ranges - that's probably not a good solution

then. I'd
really need to find a way to assign the array values to a

range then is
then used for validation. Is it not possible to define a

range in VB
that never gets put to the worksheet?

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default General Question regarding passing cells, ranges, cell values through subs & functions

Is it not possible to define a range in VB
that never gets put to the worksheet?


No.

Regards,
Tom Ogilvy

" wrote in message
...
That could be a problem - putting all the arrays back onto the sheet -
The reason is this: For each set of 6 cells in 1 row there are 4
ranges that govern the allowable values. Since the relationships are
two-way, then in reality I might need 8 ranges - 1 sorted for each of
the two columns in each range. Then I'm likely to have upwards of 200
rows - each with one of the 6 cells. That means that I could need 1600
columns of ranges - that's probably not a good solution then. I'd
really need to find a way to assign the array values to a range then is
then used for validation. Is it not possible to define a range in VB
that never gets put to the worksheet?



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
Common Functions and Subs rbnorth Excel Discussion (Misc queries) 3 February 15th 06 10:07 PM
General Question regarding passing cells, ranges, cell values through subs & functions [email protected] Excel Programming 1 September 5th 04 12:57 AM
General Question regarding passing cells, ranges, cell values through subs & functions [email protected] Excel Programming 1 September 4th 04 10:40 PM
General Question regarding passing cells, ranges, cell values through subs & functions [email protected] Excel Programming 1 September 4th 04 09:09 PM
Passing values between 2 subs ? [email protected] Excel Programming 1 November 21st 03 05:56 PM


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