Can a macro be sent / loaded into Excel?
We have an application that sends a string to a client's workbook. I have written a VBA macro for the client's workbook that processes the string and loads the data into a worksheet.
The problem is that the client's workbook must have this macro to make things work.
One possibility is to compile the macro into a VB dll, then the client's workbook is independent of the macro. But we would still have to incorporate this dll into our products installation tree.
My question is whether there is another or better solution, such as sending the macro to excel and telling excel to load it and execute.
We have an application that sends a string to a client's workbook. I have written a VBA macro for the client's workbook that processes the string and loads the data into a worksheet.
The problem is that the client's workbook must have this macro to make things work.
One possibility is to compile the macro into a VB dll, then the client's workbook is independent of the macro. But we would still have to incorporate this dll into our products installation tree.
My question is whether there is another or better solution, such as sending the macro to excel and telling excel to load it and execute.