Hi Guys,
i am writing SQLs using ODBC connection.
And to avoid leak memorys the best is to connect to another workbook and use it as source.
1. I have a current workbook and i am runing macro from this.
2. Macro is creating new workbook and catching differences between variables.
3. Macro will be also catching differences between tables using SQL and odbc.
Problem is that when i am creating new workbook i would like to close current one (with macro) and run macro with odbc from newly created (new one).
From this newly created i could connect to my current workbook using odbc connection.
It is possible to move the code from current workbook and run it from newly created?
Best,
Jacek
Bookmarks