Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Excel 2007 and Named Ranges

I encountered a problem in 2007 which I believe is a bug. Just wondering if
this is a known issue or not. When we programatically delete a row using
rows(X).entirerow.delete we noticed that in 2007, that a named range that was
a row beneath the deleted row did not shift up. In 2003 and with insert in
both editions and going through the Excel UI, named ranges shifted when rows
were inserted/deleted, just programatically deleting rows/columns did not
shift the named ranges. Am I missing something or is this a bug?

--
*********************
J Streger
MS Office Master 2000 ed.
MS Project White Belt 2003

User of MS Office 2003

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Excel 2007 and Named Ranges

I assigned a name to cell A10 and ran this code:

Rows(5).Delete

After that the name referred to A9. Looks okay here.

--
Jim
"J Streger" wrote in message
...
|I encountered a problem in 2007 which I believe is a bug. Just wondering if
| this is a known issue or not. When we programatically delete a row using
| rows(X).entirerow.delete we noticed that in 2007, that a named range that
was
| a row beneath the deleted row did not shift up. In 2003 and with insert in
| both editions and going through the Excel UI, named ranges shifted when
rows
| were inserted/deleted, just programatically deleting rows/columns did not
| shift the named ranges. Am I missing something or is this a bug?
|
| --
| *********************
| J Streger
| MS Office Master 2000 ed.
| MS Project White Belt 2003
|
| User of MS Office 2003
|

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Excel 2007 and Named Ranges

A single cell works fine. It's when you have a named range that defines an
entire row where it doesn't shift up. Can you test to see if an entire row
set as a named range shifts up when you programatically delete a row above it?

--
*********************
J Streger
MS Office Master 2000 ed.
MS Project White Belt 2003

User of MS Office 2003



"Jim Rech" wrote:

I assigned a name to cell A10 and ran this code:

Rows(5).Delete

After that the name referred to A9. Looks okay here.

--
Jim
"J Streger" wrote in message
...
|I encountered a problem in 2007 which I believe is a bug. Just wondering if
| this is a known issue or not. When we programatically delete a row using
| rows(X).entirerow.delete we noticed that in 2007, that a named range that
was
| a row beneath the deleted row did not shift up. In 2003 and with insert in
| both editions and going through the Excel UI, named ranges shifted when
rows
| were inserted/deleted, just programatically deleting rows/columns did not
| shift the named ranges. Am I missing something or is this a bug?
|
| --
| *********************
| J Streger
| MS Office Master 2000 ed.
| MS Project White Belt 2003
|
| User of MS Office 2003
|


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Excel 2007 and Named Ranges

Can you test to see if an entire row set as a named range shifts up when
you programatically delete a row above it?


It works perfectly. Can you reproduce the problem when you start with a new
workbook? Oftentimes there is something funny in an existing workbook that
causes problems that do not occur elsewhere. If a new, simple example does
repro the problem I'd like to look at it if you care to send it.

--
Jim
"J Streger" wrote in message
...
|A single cell works fine. It's when you have a named range that defines an
| entire row where it doesn't shift up. Can you test to see if an entire row
| set as a named range shifts up when you programatically delete a row above
it?
|
| --
| *********************
| J Streger
| MS Office Master 2000 ed.
| MS Project White Belt 2003
|
| User of MS Office 2003
| |

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
Excel 2007 Named Ranges Barb Reinhardt Excel Discussion (Misc queries) 0 September 22nd 08 08:01 PM
How do I set up a Dynamic Named Ranges in Excel 2007 Aussie Bob C Excel Discussion (Misc queries) 7 August 16th 08 07:22 PM
Named Ranges Disappearing in Excel 2007 Mike H. Excel Discussion (Misc queries) 6 April 29th 08 05:36 PM
Named ranges in Excel 2007 [email protected] Excel Discussion (Misc queries) 2 September 10th 07 08:22 PM
Excel 2007 Beta-Named Ranges reno Excel Discussion (Misc queries) 4 June 26th 06 09:33 PM


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