View Single Post
 
Old 07-29-2025, 06:30 AM
macropod's Avatar
macropod macropod is online now Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,465
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

They 'why' it fails is likely due to a VBA timing bug. Since it also seems to depend on what's selected when you run the code, I wonder if selecting the headers as you loop through them will change the behaviour?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote