• Get email prefix char from VBA (2002)

    Author
    Topic
    #375079

    Clicking Tools | Options | Preferences | Email options, i can set the “Prefix each line wth” character.

    Is there a way to get this via VBA code?

    Viewing 0 reply threads
    Author
    Replies
    • #610310

      Hi Peter,
      As far as I know you can’t retrieve this directly from the Outlook Object Model (there still aren’t any Dialog objects to work with). You can get it, but it’s a little convoluted! If the Actions(“Reply”).ReplyStyle = olReplyTickOriginalText (value 1000), then you can look in the registry under HKCUSoftwareMicrosoftOffice10.0OutlookPreferences – if there’s a key called PrefixText then you want the value of that. If the key does not exist, then it’s the default prefix – i.e. > .
      Hope that helps.

      • #610520

        Great! Thanks Rory, for the idea of looking in the directory (and in this case, the place to look)!

    Viewing 0 reply threads
    Reply To: Get email prefix char from VBA (2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: