Macro to show and hide an specific object

Hi,

I I am looking forward to develop a macro that is capable of selecting a specific object once and then whenever I want I could execute this macro to hide and show this same object whenever I want. 

I have develop already a macro with this functionality, but I have to select the object which is kind of the same as just right clicking and selecting "hide object". 

I would like to hide and show the object with a keyboard shortcut without the need of selecting the object. 

  • Use the object properties to create a field, call it anything sensible, say visible and give it a value of no or 0

    Then any object that has a property of visible = 0 you can cycle through in the macro and control

    Something like that... Object Properties have a lot of unexplored potential.