I want to do this:
1. Create a new Excel file
2. Format cells in this new file ( fonts, color etc. )
3. Export data from a SQL query or table from MS Access.
I would like to do all this things from Access form. I got a form where user have to fill some information, and when he is finished clicks the button. Then some sql query is running and after they finished i want to export some data to this new Excel file.
Can somebody paste over some codes on how I could do this 3. things from Access VBA window.
-ismar-
1. Create a new Excel file
2. Format cells in this new file ( fonts, color etc. )
3. Export data from a SQL query or table from MS Access.
I would like to do all this things from Access form. I got a form where user have to fill some information, and when he is finished clicks the button. Then some sql query is running and after they finished i want to export some data to this new Excel file.
Can somebody paste over some codes on how I could do this 3. things from Access VBA window.
-ismar-