Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

InchesToPoints

Status
Not open for further replies.

avarghese03

Programmer
May 14, 2004
6
US
Hi,

In Excel, we can set the left margin by saying

Code:
With ActiveSheet.PageSetup
        .LeftMargin = Application.InchesToPoints(0.25)
End With

How do I say the same thing in ole2?

Thanks in advance,
Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top