Hi, could you help me?
The situation: I've got a macro which opens a specific MS Access file, then opens a DDE link, initiates a data import macro in that MS Access file and then closes the DDE link. This used to work completely fine even with Excel 2010 but after some updates came, the Excel "hangs" after trying to open a DDE link. How to solve this? [I've found some similar topics here, but I'm not good enough to be able to apply the solutions for my situation]
The macro in Excel is like this:
Sub Run_Access_Macro()'Opens Microsoft Access and the file nwind.mdb
Shell ("C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.EXE C:\Users\diana.berulyte\Desktop\Cred\Credentials.accdb")
'Initiates a DDE channel to Microsoft Access
Chan = DDEInitiate("MSACCESS", "system")
'Activates Microsoft Access
Application.ActivateMicrosoftApp xlMicrosoftAccess
'Runs the macro "Sample AutoExec" from the NWIND.MDB file
Application.DDEExecute Chan, "Import"
'Terminates the DDE channel
Application.DDETerminate Chan
End Sub
If you can help, I would appreciate it!