Hi,
I have recently upgraded to Excel 2010 and I have come across a really annoying problem that I did not notice before in previous versions.
I have a VBA application where I want to allow the user to add a new record to a series of tables but I want the new row to be appended at the end of the table rather than somewhere in the middle.
To do this, I navigate to the end of the table and expand the range to incorporate the newly inserted row.
The problem is the conditional formatting 'applies to' range is not automatically expanded when I do this. Instead, a new rule is created just for the new row. If several new rows are added, a separate rule will be created each time and this will be very messy and difficult to maintain.
Please see spreadsheet attached to illustrate this problem.
I want to avoid inserting the row somewhere in the middle (which I know expands the 'applies to' range) automatically.
I tried to fix the problem by entering the range name (=DeptList) in the 'applies to' field but when i do this, the $D$5:$D$10 reference style is re-applied and I can't change this.
If someone can help me with this, I would be very grateful.
GTOL
Bookmarks