I iaxk Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-03 #1 我想让在olecontainer里的word或excel文档为只读,不允许修改.同时,不要出现word或excel的主菜单和工具条,请问该怎么做?
Z zbr Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-03 #2 Olecon.OleObject.application.CommandBars['Standard'].Visible:=false; Olecon.OleObject.application.CommandBars['Formatting'].Visible:=false; Olecon.OleObject.application.CommandBars['Reviewing'].Visible:=false; 以上是隐藏工具条 。
Olecon.OleObject.application.CommandBars['Standard'].Visible:=false; Olecon.OleObject.application.CommandBars['Formatting'].Visible:=false; Olecon.OleObject.application.CommandBars['Reviewing'].Visible:=false; 以上是隐藏工具条 。
I iaxk Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-03 #3 楼上,工具条是可以暂时隐藏了,但如何把它搞成只读的啊,就是不能在里面进行编辑
Z zbr Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-03 #4 Application.ActiveDocument.Protect(2);
I iaxk Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-07 #6 Application.ActiveDocument.Protect(2); 用在word上有效 但用类似的代码Application.ActiveWorkBook.Protect()用在excel上不起作用,怎么改变protect的参数都没用,照样能修改
Application.ActiveDocument.Protect(2); 用在word上有效 但用类似的代码Application.ActiveWorkBook.Protect()用在excel上不起作用,怎么改变protect的参数都没用,照样能修改
T tgdjw Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-08 #7 http://www.delphibbs.com/delphibbs/dispq.asp?lid=2510118 http://www.delphibbs.com/delphibbs/dispq.asp?lid=2466944
http://www.delphibbs.com/delphibbs/dispq.asp?lid=2510118 http://www.delphibbs.com/delphibbs/dispq.asp?lid=2466944