• Outlook Security Levels and Macros (2000 SP1)

    Home » Forums » AskWoody support » Productivity software by function » MS Outlook and email programs » Outlook Security Levels and Macros (2000 SP1)

    Author
    Topic
    #361520

    When I run a macro I have created using the VB Editor, Outlook warns me no matter what security levels I use. Even when I sign the macro with a digital signature using SelfCert.exe. Can anyone help me, I want to not be warned when I run a signed macro.

    Viewing 0 reply threads
    Author
    Replies
    • #546775

      in tools | macro | security set security to medium after signing the macro. close outlook and reopen. open the vbe and you should be presented with the enable/disable macro dialog. check always trust and then clcik enable macros.

      • #546905

        Mary

        Thanks, this has helped quite a bit. I followed your instructions and the enable/disable macro dialog came up and everything but when I click my toolbar button that runs the macro the attached warning still appears.

        Usually this appears when I run the macro and when I open the form I created with the macro. However, now if I open the journal entry which the macro created it doesn’t give me the warning. This is a step forward but I would appreciate any more tips you (or anyone) has to offer.

        Thanks for your help so far.

        • #546907

          oh – it’s scripts not vba… is the form published? Are you including the form definiation? (don’t) Publishing the form should stop it completely, unless you include the form defination.

          • #546909

            Mary

            I am running this Macro to create the journal item and show a VBE form which sends data to the journal item.

            Sub NHM_Create()
                Set myOlApp = CreateObject("Outlook.Application")
                Set NHMItem = myOlApp.CreateItemFromTemplate _
                ("C:WINDOWSProfilesMelissaApplication DataMicrosoftTemplatesNHM Journal.oft")
                NHMItem.ContactNames = "New Horizon Ministries"
            frmSelect.Show
            End Sub
            

            I have published the form (without sending the form definition), but the message still appears when I run the macro. Do you think the problem is that I am using it from a template? How do I access the form otherwise?

            Thanks

            • #546914

              yes, i’m pretty sure it’s the template – publishing stops vba warnings – i know it does scripts.

              tools > publish form (going from memory on the location, i’m in word mail and can’t check )

              i recommend publishing it to a folder (not a forms library)- then load it using the actions menu when in that folder.

            • #547187

              Mary

              I have been saving the form in the Journal folder and I can run it from the menu. I have created the macro to add functionality I couldn’t work out how to do in the Script Editor (which is not much more than a text box).

              Do you know how I can create the journal item from an Outlook folder rather than a template in the VB Editor?

              Do you know how I can delete forms from my folder? Now I have got NHMJournal and NHM Journal on the actions Menu as I published copies with different names.

              Thanks

            • #547227

              Maybe this will help:

              You manage form from Tools | Options | Other Tab; Advanced btn; Custom Forms btn; Manage Forms btn.

              This code assumes you put the form in the Inbox and it’s a note (message). You’ll want to replace “formname” with the name of your form.

              Set myfolder = Session.GetDefaultFolder(olFolderInBox)
              Set myitem = myfolder.Items.Add(“ipm.note.formname”)

            • #547336

              Thanks OldDog

              I’ll try the code.

              You manage form from Tools | Options | Other Tab; Advanced btn; Custom Forms btn; Manage Forms btn.

              This is what the help said but there is no custom forms button on my copy of Outlook (it is on a stand alone computer if that makes any difference)

            • #547435

              Hmm. I’ve never run across that before. I have a stand alone at home and will take a look. Could it be something to do with installed options?

            • #547439

              you have internet mail only mode. it doesn’t offer forms management.

              one good option – change to corp mode temperarily

              several hacks – copy the pst to a computer using outlook in corp mode or use outlook spy to rummange around and find the forms.

              for future reference – forms are stored in the folder they are published to – so if they are in a folder you added, delete the folder. (move the messages in it to a new folder and republish the forms you want to keep to the new folder)

            • #547604

              How do you change to corporate mode? I’ve looked in the help and it says to goto Tools ->Services, but I don’t have the services option.
              Edited post a few minutes later: I found it – under Tools, Options, Mail Delivery, Reconfigure mail services. I have now successfully deleted the form. Hooray!

              Where can I get Outlook Spy?

              Thanks for your help

            • #547613

              Outlook Spy lives here: http://www.dimastr.com/

    Viewing 0 reply threads
    Reply To: Reply #546914 in Outlook Security Levels and Macros (2000 SP1)

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

    Your information:




    Cancel