(Solved) – How to disable/gray-out a button word VBA macros

  • by

Please help me to disable a button with below syntax.

I have created a button in VBA macros with below syntax. I have pasted portion of code.

WordBasic.PushButton 226, 15, 88, 21, "Button 1", "Push1"

This will create a button on screen. I want to create a disabled/gray-out button with the same syntax.

Leave a Reply

Your email address will not be published. Required fields are marked *