Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Are Database Queries considered macros?

  1. #1
    New Member
    Join Date
    May 2002
    Posts
    31
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hello all...
    I need to know if Database queries the same as macros, i.e. will they still work if macros are disabled?
    On a similar note, If they ARE, then how can I prevent macros from being disabled for a particular workbook (when it is opened) that I need the macros for.

    Thanks in advance...

  2. #2
    MrExcel MVP
    Join Date
    Apr 2002
    Location
    Vancouver BC , Canada
    Posts
    6,259
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    If a Macro has been digitally signed and you have added this signature to your excel "trusted sources" under the macro menu you should be able to run a macro without being prompted.

    Create your own digital signature
    Create your own digital certificate
    Run the Office 2000 setup program again.


    On the Select Features screen in the setup program, expand Office Tools.


    Select Digital Signature for VBA projects, click the arrow next to your selection, and then select Run from My Computer.


    In Windows Explorer, locate and then double-click the file SelfCert.exe in C:Program FilesMicrosoft OfficeOffice.
    Note Because a digital certificate that you create yourself isnít issued by a formal certification authority, macro projects that are signed by using such a certificate are referred to as self-signed projects. Depending on how your organization uses the digital-signature features in Microsoft Office, you might be prevented from using such a certificate, and other users might not be able to run self-signed macros for security reasons. Learn about digital signatures.

    For more information about creating digital certificates, see Help in Visual Basic for Applications.

    ( source excel help)

    Digitally sign a macro project
    Make sure you have at least one digital certificate before you try to sign a macro project

    Open the workbook or template that contains the macro project you want to sign.


    On the Tools menu, point to Macro, and then click Visual Basic Editor.


    In the Project Explorer, click the project you want to sign.


    On the Tools menu, click Digital Signatures.


    Do one of the following:
    To use the current certificate, click OK.

    To use a different certificate, click Choose, select the certificate you want, click OK, and then click OK again.

    More information
    Learn about digital signatures

    Learn about how security levels and digital signatures work together
    ( source excel help files)

    Setting Security Levels in Office Applications

    (source :http://www.microsoft.com/office/ork/...ree/65ct_4.htm)




  3. #3
    Board Regular
    Join Date
    May 2002
    Posts
    206
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks Nimrod. You answered a question I had.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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