Hidding MS Access Objects

  • Thread starter Thread starter WoodsRichard
  • Start date Start date

How To Hide Objects

  • How To Set Object Properties

    Votes: 0 0.0%
  • How To Set System Properties

    Votes: 0 0.0%

  • Total voters
    0
Status
Not open for further replies.
W

WoodsRichard

Guest
I have found this code and it works great for tables. They are Hidden and unless you VBA code to unhide they can not be seen. I need code to hide macros, querys, and modules. I tried to modify this code and can not seem to get it to work.
Public Sub HideTable(ByVal sTableName As String)
Application.CurrentDb.TableDefs(sTableName).Properties("Attributes").Value = dbHiddenObject
End Sub
:confused:
 
Status
Not open for further replies.

Users who are viewing this thread

Back
Top Bottom