Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Multiple sheets, last one active?? How to select the first one... #29

Open
catasoft opened this issue Jul 4, 2017 · 0 comments
Open

Comments

@catasoft
Copy link

catasoft commented Jul 4, 2017

Hi,
I generate a document with more sheets.
I couldn't find a way to activate the first sheet, so that when the document is opened, the first one is opened automatically.
Right now, the last one is opened by default, which is not nice.
Is there any way to do this? Looking into code, the only ways that the function setActiveSheetIndex()/setActiveSheetIndexName() is called is in XlsSheetWrapper.php, in function start(), I would expect it to be called in function end() of XlsDocumentWrapper.php.

If there's not such functionality, is there any way to gain access to the phpExcel object and call this function manually?

Thank you!

@catasoft catasoft changed the title Multiple workbooks, last one active?? Multiple sheets, last one active?? How to select the first one... Jul 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant