I have a macro that works on one computer and not the others (all have office 07 w/SP3). The code basically opens another program, does some calculations, then spits it back into excel. The code works perfectly on another computer. The 2nd line is the line that errors in the first code tag below. (PROGRAMNAME is just the program I am trying to interface with)
I have gone to tools>references and used the browse button to define the path to the PROGRAMNAME.exe file. I have even reinstalled and repaired office and the PROGRAMNAMEPlease Login or Register to view this content.
I have run the following macro to list the Reference names, paths, and reference GUID. Interesting thing is that the file path to the PROGRAMNAME is blank, but a GUID does exist for it.
See attachment (excelreference.xlsx) for what this code returns ( I changed all the GUID's to zeros and shortened the paths...) You can see that the path for PROGRAMNAME is blank.Please Login or Register to view this content.
I can't see why the exact same code will run on one computer and not on two others. I have looked into security settings and have "Trust access to the VBA project object model" checked inside the Trust Center> Macro Settings menu
Any help is appreciated!
Thanks in advance
Bookmarks