hello everyone.
I need some help figuring this one out.
So one of my forms in my database has a button. when clicked it gathers the information from "query1" and places it on an Excel worksheet, where I then use some small formulas "vlookup" and arrange all that information into a report that I can then print.
My issue is that when that button is my form is pressed it opens Excel with the last information saved onto it, as it should. but when I go into Excel and try to refresh the connection so it can gather all the information it will not refresh.
this is the error am getting.
"You have attempted to open a database that is already opened by user 'XXX' on machine 'XXX'. try again when the database is available."
after doing some research I found that a lot of people get this same error when trying to close their access database. so I don't know if its an Access issue or Excel issue.
please help
thanks in advance
I need some help figuring this one out.
So one of my forms in my database has a button. when clicked it gathers the information from "query1" and places it on an Excel worksheet, where I then use some small formulas "vlookup" and arrange all that information into a report that I can then print.
My issue is that when that button is my form is pressed it opens Excel with the last information saved onto it, as it should. but when I go into Excel and try to refresh the connection so it can gather all the information it will not refresh.
this is the error am getting.
"You have attempted to open a database that is already opened by user 'XXX' on machine 'XXX'. try again when the database is available."
after doing some research I found that a lot of people get this same error when trying to close their access database. so I don't know if its an Access issue or Excel issue.
please help
thanks in advance