Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2022, 12:28 PM
elchico elchico is offline Open word document + macro from an .exe Windows 10 Open word document + macro from an .exe Office 2019
Novice
Open word document + macro from an .exe
 
Join Date: Jan 2022
Posts: 1
elchico is on a distinguished road
Default Open word document + macro from an .exe

Hello everyone,


I developed a small Tool using visual Studio
This tool lists all word Dokuments (all those Word documents contain macros just mailMerge), in a specific directory. The user can choose a document and by double-clicking, it will be opened and the macro will be executed.

Everything went fine until I installed Office 2019, the word document will be opened but the macro (mailMerge) will not be executed.

If I go through the windows explorer to the specified directory and double click the Word docuument manually, the macro starts and everything goes fine.

In trust Center I allowed Macros and enabled VBA.

Hope I could expressed my problem correctly.
Thanks in advance.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Macro so it runs when other open the Word Document LianaK Word VBA 1 01-25-2021 05:47 AM
[Word VBA macro] How to open the website [languagetool.org] and check my Word document? citroen Word VBA 0 10-25-2020 05:07 AM
Open word document + macro from an .exe Creating a macro from a non-saved Word doc that duplicates the current open document and saves it mike0215 Word VBA 3 11-17-2017 01:40 PM
Open word document + macro from an .exe Macro to Open to a Website When No Document Is Open lostinwebspace Word VBA 1 02-13-2016 10:28 AM
macro to open another document coconutt Word VBA 1 06-11-2012 04:39 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft