Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2003

Tip: Looking for answers? Try searching our database.

How do "Select None" from macro?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Cooper - 29 Aug 2003 16:25 GMT
I just copied a bunch of text into a document (using Selection.Paste) and
it's all selected.  How do I turn off selection (so that nothing is
selected) in this document?

Thanks!
Chris
Chris Cooper - 29 Aug 2003 16:57 GMT
Actually, that was apparently a fluke, it hasn't happened since.

However, now I have a different problem - after I copy the text from
document 1 to document 2, when I close Word, it says "You have placed a
large amount of text on the clipboard.  Do you want to leave it there and
clog stuff up?" (or words to that effect).  How can I clear the clipboard so
that question doesn't get asked?

Thanks!
Chris

> I just copied a bunch of text into a document (using Selection.Paste) and
> it's all selected.  How do I turn off selection (so that nothing is
> selected) in this document?
>
> Thanks!
> Chris
Doug Robbins - Word MVP - 30 Aug 2003 00:43 GMT
Hi Chris,

For another time to collapse the selection use:

Selection.Collapse wdCollapseEnd (or wdCollapseStart)

For your clipboard issue, see the article ?Manipulating the clipboard using
VBA
How to clear the clipboard or get the text on the clipboard into a string
variable? at:

http://www.mvps.org/word/FAQs/MacrosVBA/ManipulateClipboard.htm

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
> Actually, that was apparently a fluke, it hasn't happened since.
>
[quoted text clipped - 13 lines]
> > Thanks!
> > Chris
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.