Author Topic: MSOffice 365  (Read 1456 times)

0 Members and 1 Guest are viewing this topic.

FELIX

  • Bull Frog
  • Posts: 242
MSOffice 365
« on: May 25, 2018, 02:02:15 PM »

I have the following statement to access MSOffice-Word and manipulate the document but for MSOffice 365: VLA-OBJECT nil.

Code: [Select]
(SETQ MSWORDAPP (vlax-get-or-create-object "Word.Application"))
OK.

ronjonp

  • Needs a day job
  • Posts: 7531
Re: MSOffice 365
« Reply #1 on: May 25, 2018, 02:52:10 PM »
Have you installed the applications locally? I have Office 365 and that returns an object for me (Win10x64)

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

FELIX

  • Bull Frog
  • Posts: 242
Re: MSOffice 365
« Reply #2 on: May 25, 2018, 11:16:23 PM »
Recently some users (three) of an application of mine that creates reports in MSWord reported the error "VLA-OBJECT nil" when they started using MSOffice 365. As I did not have this version installed I asked this question here in the forum.

I did a test on my computer. I uninstalled MSOffice 2016 and installed MSOffice 365. I tested my application and it worked normally.

Now I do not know how to check on these clients. I can only see by remote access.
I tested with the "HOME" version, I will request information from the users of which version they use.

Thank you very much for the quick response.
OK.