View Single Post
 
Old 04-10-2014, 02:50 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
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

The code I provided in this https://www.msofficeforums.com/word-...there-one.html uses ranges instead of selections. You will also find that almost all of the code I've posted on msofficeforums.com uses ranges. Most other vba coders contributing solutions here do likewise.

Since we don't know exactly what it is you want to do, it's hard to give specific advice. There are, of course, times when one must revert to using Selection (e.g. to do something in one go to a whole table column), but those times are fairly rare.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote