

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. 1: 423: Field description right from the field just as by SC app developer. Topic Replies Views Activity About the Suggestions category. For example, the following statements all set UnitsNameOrCode to inches.ĭocument.LeftMargin ( visInches) = newValueĭocument.LeftMargin ("in") = newValue where "in" can also be any of the alternate strings representing inches, such as "inch", "in.", or "i".įor a complete list of valid unit strings along with corresponding Automation constants (integer values), see About units of measure.Īutomation constants for representing units are declared by the Microsoft Visio type library in member VisUnitCodes. Make your suggestions for new implementations and features on ScriptCase. If the string is invalid, an error is generated. You can specify UnitsNameOrCode as an integer or a string value. That is, the update command will be executed and the name will be changed in the database. That is, no event command will be executed. A confirmation message will appear, like the one below.

The LeftMargin property corresponds to the Left setting in the Print Setup dialog box (on the Design tab, click the Page Setup arrow, and then, on the Print Setup tab, click Setup). When executing the form, change the name and click the button. The units to use when retrieving or setting the margin value. LeftMargin ( UnitsNameOrCode)Įxpression A variable that represents a Document object. Specifies the left margin, which is used when printing.
