matrixindicator
IS-IT--Management
In Excel with VBA it is quit simple to set the font properties. I create a new table and I like to set the Font Type (TAHOMA) and the ForeColor to Blue and the size to 8.
I tried something, code not ok. Is this the way to set the properties.
I tried something, code not ok. Is this the way to set the properties.
Code:
Public Sub TABLEFORMAT(tblName As String)
Dim dbs As DAO.Database
Dim tdfNew As TableDef
Dim strTableName As String
Set dbs = DBEngine.Workspaces(0).Databases(0)
dbs.TableDefs.Refresh
Set tdfNew = dbs.TableDefs(tblName)
SetAccessProperty tdfNew.Properties ..... ?
End Sub