Board index » delphi » How to determine then name of the active sheet in Excel

How to determine then name of the active sheet in Excel

Hello

How is the name of the current sheet extracted.

Thanks
Steve

 

Re:How to determine then name of the active sheet in Excel


<<Steve Johnson:
How is the name of the current sheet extracted.

Quote

This is how you could do it using the D5 components:

  WS.ConnectTo(Excel.ActiveSheet as _Worksheet);
  WS.Name := 'New name';

--
Deborah Pate (TeamB) http://delphi-jedi.org

  Use Borland servers; TeamB don't see posts via ISPs
  http://www.borland.com/newsgroups/genl_faqs.html

Other Threads