hi all...
i made a database that keeps records in access table. however, on that form there is a button which have this code:
Private Sub Command50_Click()
DoCmd.OpenTable "TxPerlis"
SendKeys "%(TLA)", False
SendKeys "Yes", False
End Sub
the result is, when a user clicks this button, the access table will be automatically exported to excel table, and thus a new xls file is created, which i'm happy to say is what i want. however, when i go to "startup" settings and untick all field, hiding toolbar and all, this button somehow don't export the table to excel anymore. instead, it just opens access table, which i'm not happy with. why is this happening?
i made a database that keeps records in access table. however, on that form there is a button which have this code:
Private Sub Command50_Click()
DoCmd.OpenTable "TxPerlis"
SendKeys "%(TLA)", False
SendKeys "Yes", False
End Sub
the result is, when a user clicks this button, the access table will be automatically exported to excel table, and thus a new xls file is created, which i'm happy to say is what i want. however, when i go to "startup" settings and untick all field, hiding toolbar and all, this button somehow don't export the table to excel anymore. instead, it just opens access table, which i'm not happy with. why is this happening?
