Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automated Naming of ranges...

Hi,

Can someone suggest which of the do...loop
structures would work best for the following.

I have a big chunk of data that I need to automatically
name into same-sized ranges (i.e. 5 columns by 5000 rows
where i would want to name 100 ranges comprised of 5
columns by 50 rows.) Each range name is named after the
upper-left cell the first 50 lines.

Now given that there are some blank spaces in my table, i
was unable to automate a macro to go until it found a
blank space because it would end the range naming function
too early.

help...

thanks,

Gman

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Automated Naming of ranges...

Well, if your cells are contiguous (i.e., an entire row
or column does not separate them) you can loop using the
CurrentRegion property of your data chunk (e.g., use the
total number of rows in the CurrentRegion to be you loop
limit).

Seth



-----Original Message-----
Hi,

Can someone suggest which of the do...loop
structures would work best for the following.

I have a big chunk of data that I need to automatically
name into same-sized ranges (i.e. 5 columns by 5000 rows
where i would want to name 100 ranges comprised of 5
columns by 50 rows.) Each range name is named after the
upper-left cell the first 50 lines.

Now given that there are some blank spaces in my table,

i
was unable to automate a macro to go until it found a
blank space because it would end the range naming

function
too early.

help...

thanks,

Gman

.

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
Naming Ranges Stacy Excel Discussion (Misc queries) 1 July 8th 08 07:09 PM
naming tabs automated officegirl Excel Discussion (Misc queries) 6 January 9th 08 03:46 PM
naming ranges Ken Wright Excel Worksheet Functions 0 November 30th 06 07:48 AM
naming ranges Gary''s Student Excel Worksheet Functions 0 November 29th 06 11:26 PM
naming ranges TechyTemp Excel Worksheet Functions 0 November 29th 06 09:18 PM


All times are GMT +1. The time now is 06:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"