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 / General PowerPoint Questions / May 2008

Tip: Looking for answers? Try searching our database.

Finding exact physical location of selected text or cursor

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marky Mark - 09 May 2008 00:31 GMT
Hi all,

Just wondering if it is possible to find the physical location of selected
text (ie, in units from top and left of slide) within a textbox/autoshape?
I have a macro that formats my selected text in a special way, and I want it
to put a line (not underline, an actual line) under the text. But I can't
seem to get appropriate x,y coordinates for the line to put it in the right
place.

Thanks
Shyam Pillai - 09 May 2008 02:03 GMT
Take look at this example: http://skp.mvps.org/ppt00041.htm#2. Once you know
the location of the cursor it is possible to arrive at the x/y co-ordinates
you require using the BoundHeight/BoundTop/BoundWidth/BoundLeft properties.

Regards,
Shyam Pillai

Image Importer Wizard
http://skp.mvps.org/iiw.htm

> Hi all,
>
[quoted text clipped - 8 lines]
>
> Thanks
Steve Rindsberg - 09 May 2008 16:44 GMT
> Hi all,
>
[quoted text clipped - 4 lines]
> seem to get appropriate x,y coordinates for the line to put it in the right
> place.

Something like this:

Double-Underline text
http://www.pptfaq.com/FAQ00775.htm

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================

Rate this thread:






 
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.