Programmatically Hide and UnHide a table

K

Klatuu

I have not been able to figure out the correct VBA code to hide or unhide a
table. I would appreciate a little help here.
Thanks.
 
R

RoyVidar

Klatuu said:
I have not been able to figure out the correct VBA code to hide or
unhide a table. I would appreciate a little help here.
Thanks.

Try

Application.SetHiddenAttribute acTable, "NameOfTAble", True

True hides, False unhides objects.
 
Top