Get a list of document worksheets

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
timh52280
Posts: 1
Joined: Mon Sep 28, 2020 1:21 pm

Get a list of document worksheets

Post by timh52280 »

Good morning, how can I get the list of document's worksheets to show in a ListView?
Can you help me, please?
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Get a list of document worksheets

Post by larsa »

Hello

Use code like this:

Code: Select all

var
  i: integer;
  S: string;
begin
  for i := 0 to XLS.Count - 1 do
    S := XLS[i].Name;
end;
Lars Arvidsson, Axolot Data
Post Reply