Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. ![]() MsgBox "The current left margin is " & marginInches & " inches" marginInches = Worksheets("Sheet1").PageSetup.LeftMargin / _ This example displays the current left-margin setting for Sheet1. Worksheets("Sheet1").PageSetup.LeftMargin = _ This example sets the left margin of Sheet1 to 2 centimeters. ![]() This example sets the left margin of Sheet1 to 1.5 inches. Use either the InchesToPoints method or the CentimetersToPoints method to do the conversion. La macro scfieldstyle, Esta macro permite modificar el estilo de campo de las celdas de una aplicacin grid dinmicamente. ![]() SyntaxĮxpression A variable that represents a PageSetup object. Returns or sets the size of the left margin, in points.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |