Board index » delphi » Unprotecting a worksheet

Unprotecting a worksheet

Hi,

I'm trying to unprotect a worksheet using the following code;

SummaryWS.Unprotect(emptyparam, LCID);

but I keep getting

[Error] Main.pas(226): '(' expected but ')' found

Any help would be most appreciated and thanks for the quick response to my
last query.

Alasdair Smith

 

Re:Unprotecting a worksheet


<<Alasdair Smith:
[Error] Main.pas(226): '(' expected but ')' found

Quote

I can't reproduce that and suspect a typo in your code.
We'd need to see more otherwise.

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

  TeamB don't see posts sent via Google or ISPs
  Use the real Borland server: newsgroups.borland.com
  http://www.borland.com/newsgroups/genl_faqs.html

Other Threads