Forum Discussion
KetanJani
Feb 07, 2024Copper Contributor
Add Custom Visual in Excel
Hi, I have created a custom visual using HTML-Javascript-CSS and I want to add this visual in Excel. As per my research, there are 2 ways this could be done: 1) Using the Developer panel, add Micr...
DipamModi
Feb 09, 2024Copper Contributor
JKPieterse
Is it anyhow possible using VBA?
JKPieterse
Feb 09, 2024Silver Contributor
Anything is possible with VBA. But whether your solution is easily built using VBA, depends on the exact requirements.
- KetanJaniFeb 09, 2024Copper Contributor
JKPieterse
Thank you for your response.
I want to create a custom chart using VBA that I have created in an HTML file using d3.js. So is it really possible to get VBA to work with javascript or do I need to go for pure VBA structure and add shapes and all in order to create a custom chart?If VBA supports javascript could you please send me a document or example that might be useful?
- JKPieterseFeb 09, 2024Silver ContributorYou can add a web browser control to a userform ad have that load the html file. But I suspect this might be better solved by creating an office-js add-in.