I have a style-cleanup routine that instead of pasting directly into my doc, it pastes in a newly-created doc, deletes some styles specified by the user, maps any text in "Normal" to a different style (which handles the styles just deleted), and then copies and pastes whats left into my doc.
so it's something like:
set oDoc = Documents.Add(Visible:=False)
At this point, the doc I copied from has Styles("Bogus") now gone!!!
I've checked very carefully to ensure that it's really the "quarantine" doc I'm operating on, but the style stays there, and deletes from the active document.
This is frustrating, dangerous, and just, plain, wrong.
Any clues or ideas? Do I have to have an active doc to delete styles from it?