VBA for making Excel chart in Word macro-enabled template giving issues

Fabriziocan

New Member
Joined
Jan 28, 2017
Messages
1
I made a Word macro-enabled template,that creates a chart in Word using VBA ( I created a reference to Microsoft Excel 15.0 Object Library in the VBE), based on responses users give. They tick checkboxes in the Word document.

So the user uses the template and should be able to produce a chart, in their document based on this template. Everything worked fine on my machine (I'm using Office 2013), when I create a document based, on the macro-enabled Word template, I tick the checkboxes and based on those responses click on the button, to create a chart, and I get a chart in Word.

However, when I sent the template to others, the other people, creating documents based on the template, who are using Word 2016, click on the button and can only see the Chart if they turn on Design mode in the Developer option. The minute they turn it off, the chart disappears - so it is there but hidden in design mode.

Any tips on resolving this issue would be appreciated.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,223,799
Messages
6,174,669
Members
452,576
Latest member
AlexG_UK

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top