• Office 97 Macros wont work with Windows XP (Office 97 + XP)

    Home » Forums » AskWoody support » Windows » Windows Vista, XP and earlier » Questions: Vista, XP back to 3.1 » Office 97 Macros wont work with Windows XP (Office 97 + XP)

    Author
    Topic
    #409888

    Our department has purchased new computers with Windows XPProfessional. We are still using Office 97 and not likely to upgrade in the near future. I have created Word Forms which have macros in them. The macros will not fire if the user does not have Administrator access within our network.
    It is not desirable to have all users with Adminstrator access rights because I have been told that this will allow them access to change the Operating system.

    Is there a way around this? Any advise will be greatly appreciated.

    Kerry

    Viewing 5 reply threads
    Author
    Replies
    • #876875

      I would expect the macros to work, unless macro security is set to high.

      Do they refuse to work alltogether or is it on specific lines that the macros fail?

      • #876881

        They do not work at all. Changing the macro security setting does not help at all.

        • #876983

          Just as a matter of interest:
          Can you write/add new macros to a new document, and if so, will they run?
          Are the macros held in a document or template that may be in a folder with restricted access?

          Edited to add:
          What operating system where your users running before XP?

          • #877300

            Leif

            I havent tried to add or create new macros. Good suggestion – will try.
            No there are no restrictions on folders.
            Users were using Windows 98 and some 95.

          • #877301

            Leif

            I havent tried to add or create new macros. Good suggestion – will try.
            No there are no restrictions on folders.
            Users were using Windows 98 and some 95.

        • #876984

          Just as a matter of interest:
          Can you write/add new macros to a new document, and if so, will they run?
          Are the macros held in a document or template that may be in a folder with restricted access?

          Edited to add:
          What operating system where your users running before XP?

        • #877283

          Do they really need admin rights on the network or just the local machine? What about power user rights on the local machine?

          Joe

          --Joe

        • #877284

          Do they really need admin rights on the network or just the local machine? What about power user rights on the local machine?

          Joe

          --Joe

      • #876882

        They do not work at all. Changing the macro security setting does not help at all.

    • #876876

      I would expect the macros to work, unless macro security is set to high.

      Do they refuse to work alltogether or is it on specific lines that the macros fail?

    • #876909

      I found this piece of information…..
      Macros created in versions of Word previous to Office 97 use WordBasic, not Microsoft Visual Basic. When a user opens a file containing WordBasic code in Word 2002, the code is automatically converted to Visual Basic. You should not expect to encounter problems, and the macros should run properly. However, macros created in Word 2002 won’t work for users of Word versions earlier than Word 97.

      Macros created in Excel 95 use Visual Basic, but the underlying architecture of Excel was substantially changed starting with Office 97. This means that Excel 95 macros that bump into the architectural changes when opened in Excel 2002 (or the other way around) might not run properly, or at all. Be sure to have users test, and if necessary, recreate, important macros. here.

      Were these macros created in Word 95 ??? I’m just grasping at straws here, because this seems more like a permissions issue than a version issue with Office and XP.

      edited to add…. This is from an MS Knowledge Base article that I found here.
      WORKAROUND
      To work around this behavior, close the document and change the macro security level to Medium. To do this, follow these steps:
      On the Tools menu, click Options and then click Macro Security.
      On the Security Level tab, click to select Medium, and then click OK.
      On the File menu, click Exit to quit Microsoft Word.

      NOTE: Though there is no warning message telling you to restart. You must quit and restart Microsoft Word for the security level change to take effect.

    • #876910

      I found this piece of information…..
      Macros created in versions of Word previous to Office 97 use WordBasic, not Microsoft Visual Basic. When a user opens a file containing WordBasic code in Word 2002, the code is automatically converted to Visual Basic. You should not expect to encounter problems, and the macros should run properly. However, macros created in Word 2002 won’t work for users of Word versions earlier than Word 97.

      Macros created in Excel 95 use Visual Basic, but the underlying architecture of Excel was substantially changed starting with Office 97. This means that Excel 95 macros that bump into the architectural changes when opened in Excel 2002 (or the other way around) might not run properly, or at all. Be sure to have users test, and if necessary, recreate, important macros. here.

      Were these macros created in Word 95 ??? I’m just grasping at straws here, because this seems more like a permissions issue than a version issue with Office and XP.

      edited to add…. This is from an MS Knowledge Base article that I found here.
      WORKAROUND
      To work around this behavior, close the document and change the macro security level to Medium. To do this, follow these steps:
      On the Tools menu, click Options and then click Macro Security.
      On the Security Level tab, click to select Medium, and then click OK.
      On the File menu, click Exit to quit Microsoft Word.

      NOTE: Though there is no warning message telling you to restart. You must quit and restart Microsoft Word for the security level change to take effect.

    • #877291

      I’m fairly certain that Joe is on the right track: Office does not care at all about domain administrative privileges, it only cares about local privileges on the user’s machine. If you don’t want the user to have administrative privileges for all purposes on their own machines, it might be possible to use RUNAS with the Office programs work around the security restriction. I suspect there might be something on this in the some of Microsoft’s Office resource kits. (Because of the changes between Windows NT and 2000/XP, it might be hard to find a single, authoritative source that discusses both Office 97 and Windows XP, but hopefully you can piece it together.)

    • #877292

      I’m fairly certain that Joe is on the right track: Office does not care at all about domain administrative privileges, it only cares about local privileges on the user’s machine. If you don’t want the user to have administrative privileges for all purposes on their own machines, it might be possible to use RUNAS with the Office programs work around the security restriction. I suspect there might be something on this in the some of Microsoft’s Office resource kits. (Because of the changes between Windows NT and 2000/XP, it might be hard to find a single, authoritative source that discusses both Office 97 and Windows XP, but hopefully you can piece it together.)

    Viewing 5 reply threads
    Reply To: Office 97 Macros wont work with Windows XP (Office 97 + XP)

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

    Your information: