come posso fare una macro che protegge il foglio senza che mi appaia ogni volta la finestra di approvazione dove cliccare su ok??
con il registratore di macro vie sta cosa qui': sub protpsw rem ---------------------------------------------------------------------- rem define variables dim document as object dim dispatcher as object rem ---------------------------------------------------------------------- rem get access to the document document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") rem ---------------------------------------------------------------------- dim args1(0) as new com.sun.star.beans.PropertyValue args1(0).Name = "Protect" args1(0).Value = true dispatcher.executeDispatch(document, ".uno:Protect", "", 0, args1()) end sub grazie di ogni suggerimento p --------------------------------------------------------------------- To unsubscribe, e-mail: utenti-unsubscr...@it.openoffice.org For additional commands, e-mail: utenti-h...@it.openoffice.org