怎么把图片插入EXCEL表里
发布网友
发布时间:2022-04-25 14:33
我来回答
共1个回答
热心网友
时间:2023-10-09 07:13
按ALT+F11,把下面代码写入Thisworkbook里面,可以禁用图片上的右键,阻止别人编辑这个文件。Private
Sub
Workbook_BeforeClose(Cancel
As
Boolean)Application.CommandBars("Pictures
Context
Menu").Enabled
=
TrueEnd
SubPrivate
Sub
Workbook_Open()Application.CommandBars("Pictures
Context
Menu").Enabled
=
FalseEnd
Sub