Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 Named Ranges | Excel Discussion (Misc queries) | |||
How do I set up a Dynamic Named Ranges in Excel 2007 | Excel Discussion (Misc queries) | |||
Named Ranges Disappearing in Excel 2007 | Excel Discussion (Misc queries) | |||
Named ranges in Excel 2007 | Excel Discussion (Misc queries) | |||
Excel 2007 Beta-Named Ranges | Excel Discussion (Misc queries) |