L
lj
I am using a macro to connect to the database and update a stored
procedure. I am able to disconnect the excel sheet from the database
manually by going to "data" in the menu, then "import external data",
then "data range properties", and unchecking "save query definition" in
the window. When I try to do this in my macro the macro does not
record my disconnecting the spreadsheet from the database. Any
suggestions on how else to disconnect the query from the spreadsheet in
the macro? Thanks for your help!
procedure. I am able to disconnect the excel sheet from the database
manually by going to "data" in the menu, then "import external data",
then "data range properties", and unchecking "save query definition" in
the window. When I try to do this in my macro the macro does not
record my disconnecting the spreadsheet from the database. Any
suggestions on how else to disconnect the query from the spreadsheet in
the macro? Thanks for your help!