troubleshooting Question

Adding Macro using Excel POI

Avatar of abuyusuf
abuyusuf asked on
Microsoft ExcelJava
8 Comments1 Solution7771 ViewsLast Modified:
We are generating an Excel spreadsheet in our application using Apache POI API - the spreadhseet has two tabs with a hyperlink on the first one leading to the second tab. When the hyperlink is clicked the user always gets a dialog box asking him if he would like to save his work - this is very annoying and we need a solution to fix it.

If the Excel spreadsheet was standalone the fix is easy - the following link provides a macro for that

http://support.microsoft.com/default.aspx?scid=kb;en-us;129153

But how can I do this through the POI API - from what I have found it is not possible but if someone has done it and can point me in the right direction that would be great

Thanks
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros