Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
秘密度を機密に設定する新しいカスタマイズされたボタンを作成しました。
ボタンで次のことができるようにしたいと思います。
.
Sub setConfidential() ActiveInspector.CurrentItem.Sensitivity = olConfidential End Sub
Re: ボタンを押すたびに設定を切り替えます (親展タグの設定と設定解除)。
Sub ToggleSensitivity() if ActiveInspector.CurrentItem.Sensitivity = olConfidential then ActiveInspector.CurrentItem.Sensitivity = olNormal else ActiveInspector.CurrentItem.Sensitivity = olConfidential end if End Sub