LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Shift the Left Boundary of Named Ranges when Inserting Columns

The default action of named ranges, w/out the relative $, is to shift when
rows or columns re inserted or deleted. You can't avoid that. Or rather not
without using a dynamic style named range or a named formula with Indirect
or perhaps one or two other ways. But I doubt any such method will be
practical with your multi-area named ranges. (Relative named ranges move
according to the cursor position).

At a glance looks like its very easy to recreate your ranges in code (for
use in immediately in the code or to recreate the named ranges). At a glance
looks like they are alternate rows.

Regards,
Peter T

wrote in message
...
Hi Programmers--When columns are inserted to the left of ranges, the
ranges are not updating and shifting to the right. After browsing and
studying, I defined the ranges globally, but I'm not sure how to
adjust them to always be positioned as follows: below row 12, which
has cells that = date (11/10/08), and to the right of a column with
cells that have the text "Scores " in each cell.
Here are the current ranges:

Range1=!AV$13:!EZ$13,!AV$15:!EZ$15,!AV$17:!EZ$17,! AV$19:!EZ$19,!AV$21:!
EZ$21,!AV$23:!EZ$23,!AV$25:!EZ$25,!AV$27:!EZ$27,!A V$29:!EZ$29,!AV$31:!
EZ$31

Range2=!AV$31:!EZ$31,!AV$33:!EZ$33,!AV$35:!EZ$35,! AV$37:!EZ$37,!AV$39:!
EZ$39,!AV$41:!EZ$41,!AV$43:!EZ$43,!AV$45:!EZ$45,!A V$47:!EZ$47,!AV$49:!
EZ$49

Range3=!AV$51:!EZ$51,!AV$53:!EZ$53,!AV$55:!EZ$55,! AV$57:!EZ$57,!AV$59:!
EZ$59,!AV$61:!EZ$61,!AV$63:!EZ$63,!AV$65:!EZ$65,!A V$67:!EZ$67,!AV$69:!
EZ$69

There are 3 ranges instead of 1 because of Excel's 240 character
limitation in defining named ranges.

Thank you very much if you can help.



 
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
Shift constant values in a range left or right by n columns Dirk Goldgar Excel Programming 2 July 21st 08 07:09 PM
Named ranges scope / workbook/worksheet level named ranges- changeswith variable use... christian_spaceman Excel Programming 3 December 24th 07 01:15 PM
SUMIF and LEFT and Named Ranges DaveMoore Excel Worksheet Functions 3 October 5th 06 12:10 PM
SUMIF and LEFT and Named Ranges DaveMoore Excel Worksheet Functions 1 October 5th 06 11:03 AM
SUMIF and LEFT and Named Ranges DaveMoore Excel Worksheet Functions 0 October 5th 06 09:39 AM


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