Hi
I have an Excel spreadsheet linked through to a sql table via and ODBC connection and I have a macro to refresh the data. I want the macro to first check that the ODBC connection exists before trying to refresh the data. So it would look like:
IF ODBC Connection exists THEN refresh data ELSE return warning message.
becoz when connection cannot be made, its gives me error. and i have to manually press ok button.
Any ideas....?
thanks
Bookmarks