can a constant be set using a control on a form?
ive got a form with a text box on it. The user inputs some text and then clicks a button whereupon the code runs. But i get an error - "constant expression required". Any help or info is greatly appreciated.
Const conMAX_ROWS = 20000
Const conSHT_NAME = frmTxtBox
Const conWKB_NAME = "C:\MDP\Book1.xls"
"Children are smarter than any of us. Know how I know that? I don't know one child with a full time job and children."...Bill Hicks
ive got a form with a text box on it. The user inputs some text and then clicks a button whereupon the code runs. But i get an error - "constant expression required". Any help or info is greatly appreciated.
Const conMAX_ROWS = 20000
Const conSHT_NAME = frmTxtBox
Const conWKB_NAME = "C:\MDP\Book1.xls"
"Children are smarter than any of us. Know how I know that? I don't know one child with a full time job and children."...Bill Hicks