ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   insert changes Named references (https://www.excelbanter.com/excel-programming/324000-insert-changes-named-references.html)

Patrick Heilman

insert changes Named references
 
When I insert a column with VBA, it shifts all of the range references in
the Names for all columns after the inserted one.

Example;
Before insert
Column: One Two Three Four
Name: A B C D

After Insert
Column: One Two New Three Four
Name: A B C D

It's as if the Name RefersTo property isn't updated when the insert happens.
Anyone haev data on this and how to correct or work around it?

Thanks,
Patrick Heilman




All times are GMT +1. The time now is 10:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com