Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-27-2012, 03:24 PM
macropod's Avatar
macropod macropod is online now VBA: how can I know the position on a document? Windows 7 64bit VBA: how can I know the position on a document? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
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

If you want the ruler to display in points, go to Word Options|Advanced > Display and choose 'Points' from the 'Show measurements in units of' dropdown. However, this shouldn't be necessary as you can use Word's CentimetersToPoints function so that you can work in centimeters. For example, for the textbox you might use:
.Top = CentimetersToPoints(2)
and Word will interptret this as a 2cm offset. All very simple. There is also an InchesToPoints function.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
fix position for a segment in a doc tai Word 3 10-20-2011 01:04 PM
Pictures Not Staying In Position BrazzellMarketing Word 3 10-06-2011 06:54 AM
VBA: how can I know the position on a document? character spacing position disabled fogharty Word 2 07-27-2011 01:26 PM
Retrieve position of Cursor - x & y positions SDondeti PowerPoint 0 05-19-2011 11:39 AM
Problem with watermark position in msword Nandu4u Word 0 12-29-2009 09:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft