Select worksheet

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
Josef Gschwendtner
Posts: 17
Joined: Wed Oct 28, 2015 2:16 pm

Select worksheet

Post 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
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Select worksheet

Post by larsa »

Hello

Use:

Code: Select all

XLS.SelectedTab := n;
Lars Arvidsson, Axolot Data
Post Reply