Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
balanandam
Creator II
Creator II

Dynamic name for Excel Report

Hi All,

I wanted to implement this in my project. My report as below

when I download this in excel, it should on the name of the header showing here. Can any one give idea ?

Br, Balanandam

9 Replies
prma7799
Master III
Master III

balanandam
Creator II
Creator II
Author

P M, thanks for the quick response.

I see there is a Macro code written in the article you shared Me. I wanted to know on how this code to be triggered ? Will it work when I Click on Excel Export or do I need to create a button to trigger the action which runs this Macro?

Br, Balanandam

tresesco
MVP
MVP

You need to create a button

prma7799
Master III
Master III

As tresesco‌ said

You need to create a button.

shiveshsingh
Master
Master

Hi

You can use a button for getting the desired result

balanandam
Creator II
Creator II
Author

I've added this code Macro area, triggered by Button action. its not running and just opens this code when I click on Button. One question: Do wee need Excel installed in Server ? if yes, we don't have option then I need to go for PDF for the same concept.

Br, Balanandam

balanandam
Creator II
Creator II
Author

Forgot paste the error:

ActiveX component can't create object: 'Excel.Application'

it's same as above said. How to avoid this ?

Br, Balanandam

balanandam
Creator II
Creator II
Author

I've changed security as below:

Neither throws error nor working as expected i.e, Report not getting generated. what else I'm missing here any idea ?

Br, Balanandam

balanandam
Creator II
Creator II
Author

Hi all,

this is work when using desktop application but not thru Access Point (Browser), any sitting needed to achieve this ?

Pls. advice.

Br, Balanandam