Skip to main content
Solved

Excel Writer : Control default sheet

  • May 17, 2023
  • 4 replies
  • 186 views

lgrie
Contributor
Forum|alt.badge.img+7
  • Contributor
  • 19 replies

Hello,

a while ago a user suggested to implement an "Option to control default sheet on Excel writer"

Does anyone know if this is now possible ? I am writing an Excel file with up to 100 sheets and I want to force Excel to open the first sheet by default.

 

Thanks.

Best answer by nielsgerrits

Thanks for your suggestion, Niels.

What I did not mention is that I am using a FeatureWriter with three different entries:

My first desired sheet is a recap, misting all other sheets, which I create seperately.

Than I have my sheets and the third entrie is a ssheet listing errors occured during the process.

 

So I am not sure if your suggestion does the trick. But it is a great starting point.

I think it does, sample workspace attached.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2937 replies
  • May 17, 2023

I do not know of an option in the writer. But I believe the last written sheet is the active one. So as a workaround, with AttributeCreators creating an order attribute, a Sorter and an AttributeFilter you can force this.


lgrie
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 19 replies
  • May 17, 2023

Thanks for your suggestion, Niels.

What I did not mention is that I am using a FeatureWriter with three different entries:

My first desired sheet is a recap, misting all other sheets, which I create seperately.

Than I have my sheets and the third entrie is a ssheet listing errors occured during the process.

 

So I am not sure if your suggestion does the trick. But it is a great starting point.


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2937 replies
  • Best Answer
  • May 17, 2023

Thanks for your suggestion, Niels.

What I did not mention is that I am using a FeatureWriter with three different entries:

My first desired sheet is a recap, misting all other sheets, which I create seperately.

Than I have my sheets and the third entrie is a ssheet listing errors occured during the process.

 

So I am not sure if your suggestion does the trick. But it is a great starting point.

I think it does, sample workspace attached.


lgrie
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 19 replies
  • May 17, 2023

I think it does, sample workspace attached.

This worked for me quite well! Bedankt !