I set up the code for the Loop like this.
Probably not the cleanest way and I intend to still investigate the Collection and array ideas suggested.
but for now, and to answer the question about Excel behavior for Save As and not being able to find the dir.
I think because I used the Full Path, the prob doesn't exist (at least in this version)
One thing that is confusing me is in this part...
This only works if the items are sorted alphabetically AND ALL items are visible.
this line
the first time thru the loop it will use the first visible item, second time it uses the second visble item etc.
this line
the first time thru the loop it will use the first item (in alpha order) whether visble or not etc
I need to find a command that only considers the visible Pivotitems.
Looking into something like .Datarange.cells(i).parent or something. so far no joy.
Bookmarks