Playing with the code It seams if I use a msgbox statement between loading the source file and the code to cycle through each layer, the code that I said above doesn't work does. I remember reading about a waituntilpageload method in the api help file. When I look at the VBA sample though it doesn't list a call to this method, just some code to turn off the tool bar. I looked in the object browser but didn't find any reference to the waituntilpageload method there either. I tried using the sample code to turn off the toolbar, but that had no effect.
Am I missing something??