Page 1 of 1

Select worksheet

Posted: Wed Mar 01, 2017 11:14 am
by Josef Gschwendtner
Hi,

how can I select a certain worksheet by code.

After opening a file we have the situation that the data of "sheet1" is visible, but the tab of "sheet2" is shown as the active tab (white color).

Regards,
Josef

Re: Select worksheet

Posted: Thu Mar 02, 2017 8:06 am
by larsa
Hello

Use:

Code: Select all

XLS.SelectedTab := n;