question

NikhilThakur-1949 avatar image
0 Votes"
NikhilThakur-1949 asked NikhilThakur-1949 edited

Unable to save word document after Mail Merge using VB6 after disabling VBA on enviornment

ISSUE DETAILS:
Wrote a Visual Basic 6 application to perform Mail Merge using Microsoft Word Object Library.
While saving the document after mail merge, word shows the below error:
The function you are attempting to run contains macros or content that requires macro language support.

OCCURRENCE:
Every time while saving the document after mail merge

ERROR:
The function you are attempting to run contains macros or content that requires macro language support.

CHANGES:
Disabled VBA on the environment, i.e. added new key VBAOFF to the registry with its value as 1 at "Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common" path.



office-vba-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers