Excel Hints

Results 1 to 2 of 2

Thread: Style margins via VBA

  1. #1

    Style margins via VBA

    How can the margins of a new style be set using VBA?

  2. #2
    Try recording a macro and adjusting the style. You'll get a whole host of things you can adjust.

    But to be technical-- you can't adult margins via a style. Margins are a page setup kind of thing (a property of a section)... *Indents* are the right-left spacing on a paragraph you're probably referring to.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •