Announcements
Hi All,
I have created a report and I can use "send to" and select excel so it can be saved in excel. Now the question is, is there any way to control the worksheet name once exported to excel?
Currently, it comes up as "Sheet1". We use this excel file as an import file to another external system
Thanks
Hi
See this post
specially the answer below
Final working solution:
IF ISCLEAR(xlApp) THEN
CREATE(xlApp, FALSE, TRUE);
xlBook:=xlApp.Workbooks.Add;
xlSheet := xlBook.Worksheets.Item('Sheet1');
Code...
xlSheet.Activate();
xlApp.Visible(TRUE);
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator