I wish to set all of the startup options using a command button,
I have tried the following code:
-------
Private Sub cmdStartupConfig_Click()
Dim temp As String
temp = Application.SetOption("StartUpShowDBWindow", True)
End Sub
-------
Yet an error message saying Expected function or variable as it highlights only the word ".SetOption" within my code. I have also tried the following with and without the brackets or the quote marks:
-------
temp = SetOption("StartUpShowDBWindow", True)
-------
Can anyone help me with the proper syntax to access and set all the available start options?
Thanks, Zycmi
I have tried the following code:
-------
Private Sub cmdStartupConfig_Click()
Dim temp As String
temp = Application.SetOption("StartUpShowDBWindow", True)
End Sub
-------
Yet an error message saying Expected function or variable as it highlights only the word ".SetOption" within my code. I have also tried the following with and without the brackets or the quote marks:
-------
temp = SetOption("StartUpShowDBWindow", True)
-------
Can anyone help me with the proper syntax to access and set all the available start options?
Thanks, Zycmi