Page 1 of 1

Get a list of document worksheets

Posted: Mon Sep 28, 2020 1:26 pm
by timh52280
Good morning, how can I get the list of document's worksheets to show in a ListView?
Can you help me, please?

Re: Get a list of document worksheets

Posted: Tue Sep 29, 2020 9:34 am
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;