Discussion:
How to programmatically do a "Select All"?
(too old to reply)
lanem
2005-04-11 13:22:03 UTC
Permalink
How do I "Select All"(Ctrl-A) from vba code in Word?
Word Heretic
2005-04-12 12:44:39 UTC
Permalink
G'day "lanem" <***@discussions.microsoft.com>,

ActiveDocument.Content.Select

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice
Post by lanem
How do I "Select All"(Ctrl-A) from vba code in Word?
lanem
2005-04-12 14:59:06 UTC
Permalink
Thanks. That worked.

Do you know how to unselect everything after I select all?
Post by Word Heretic
ActiveDocument.Content.Select
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
Post by lanem
How do I "Select All"(Ctrl-A) from vba code in Word?
Word Heretic
2005-04-12 16:04:42 UTC
Permalink
G'day "lanem" <***@discussions.microsoft.com>,

Selection.Collapse wdcollapseStart

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice
Post by lanem
Thanks. That worked.
Do you know how to unselect everything after I select all?
Post by Word Heretic
ActiveDocument.Content.Select
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
Post by lanem
How do I "Select All"(Ctrl-A) from vba code in Word?
lanem
2005-04-12 16:04:02 UTC
Permalink
Thanks. That did it.

Loading...