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 / September 2006

Tip: Looking for answers? Try searching our database.

Extending My Selection

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frankbelly - 23 Sep 2006 03:43 GMT
I need to extend the current Selection to the right until it reaches a
character that is NOT equal to either a digit (any number) or the colon ":"
(kind of an odd request, I know).  Any help would be greatly appreciated.  

Thanks,
Jezebel - 23 Sep 2006 04:48 GMT
Selection.MoveEndWhile CSet:=":0123456789", Count:=wdForward

>I need to extend the current Selection to the right until it reaches a
> character that is NOT equal to either a digit (any number) or the colon
> ":"
> (kind of an odd request, I know).  Any help would be greatly appreciated.
>
> Thanks,
Frankbelly - 23 Sep 2006 06:00 GMT
Great!  Nice and direct.  Thank you so much!!

> Selection.MoveEndWhile CSet:=":0123456789", Count:=wdForward
>
[quoted text clipped - 4 lines]
> >
> > Thanks,
 
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.