Some time I like to change the font name of my split form datasheets.
I thought I found an easy wat by selecting 'Options'>'Datasheet'>'Default font'
But I find there is no option for the font name, only Size, Weight, Underline and Italic.
Currently I'm changing the font by using:
But the code only changes the font name if I open the form and press ctl-s and then close and reopen the form.
Any ideas?
James
I thought I found an easy wat by selecting 'Options'>'Datasheet'>'Default font'
But I find there is no option for the font name, only Size, Weight, Underline and Italic.
Currently I'm changing the font by using:
Code:
Public Function DataSheetFont(frm As Form)
frm.DatasheetFontName = "Calibri"
frm.DatasheetFontHeight = 12
frm.DatasheetFontWeight = 400
End Function
But the code only changes the font name if I open the form and press ctl-s and then close and reopen the form.
Any ideas?
James