Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Mount Prospect, Illinois
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is there a hook for style change? (97-2003)

    Is there a hook like "EditPaste" that I can write a VBA routine to catch when a user changes the style? I'd like to avoid XP "Style creep" by making sure that paragraph styles are ONLY applied to the entire paragraph.
    I'm doubting it, because the hookable routines aren't passed any info such as the style, font, etc. chosen. I can hook displaying the style list, but that's pointless.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Is there a hook for style change? (97-2003)

    In theory you could try to hook into the CommandBar control (styles list) and the Task Bar (Formatting and Styles), but it sounds like a <big>big</big> project with a very uncertain return.

Posting Permissions

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