Hi Greg,
Thanks again for your help on this… 
The macro works great on WBS1.1.1, WBS1.1.2, WBS1.1.3, etc. and various forms of the prefix.
However, the macro assumes that WBS 1.1, WBS 1.2, WBS 1.3 etc. are not valid formats, yet these are the highest levels that could actually use – can it be amended to allow/include this level? The macro converts the number correctly, so I do not see why the “error message” should be triggered…?
I’m happy for the macro to ignore WBS 1, WBS 2, WBS 3 etc. as these should not be used in the spreadsheet as they relate to the project as a whole.
I wondered whether when the “incorrect format” message has been triggered, can the macro show the progress in the list? When I’ve been testing it, for example, I’ve had about 40 or so “incorrect format” messages (which I understand – they were WBS 1.1, WBS 1.2, WBS 1.3 etc), but it would be nice (or reassuring) to see the selected cell steadily moving down the column. I appreciate that in a live situation there shouldn’t be any/many “errors”, but I think the average user would be reassured to see the cursor moving down the column (rather than thinking the “error message” is more serious. I usually use Application.Screenupdating=False, so am happy if the default is that progress is not actually shown, but if there is an error, I think it would be nice the macro showed where this had been. On reflection, it’s probably better not to highlight the cell (in case the user has coloured the cells) – would it be possible to display the WBS which triggered the “incorrect format” – e.g. “Incorrect format – WBS 1 1 1 1 1” (e.g. the user had not used any dots in the WBS).
I’ve amended the “incorrect format” code to the following (which seems to resolve this issue):
The spreadsheet searches down the specified column (e.g. all of column A) – can it be changed to start at, say, row 5 and look down the used range?
Finally, I’ve forgotten to mention (or perhaps assumed it would be easy for me to change or just duplicate the macro) – we have the generic WBS structure, but we also have (confusingly) another hierarchy which follows a similar numbering structure… Can the macro be amended to run on two columns? (say columns A & D – or A5 down and D5 down).
Thanks,
Graham
Bookmarks