Hello, I run an macro from DesKi to save an report as XLS file en open it. Now I have to put new SUM-formulas in the Excel-sheet.
Is it possible to do it in the VBA-code run from DesKI? Or must the User start Excel and start there a new macro. I like to put the VBA-code in 1 place and 1 start.
What is the best solution??? Can sombody help me on the right way?
Thanks, Els
Within your VBA code in DeskI, you will need to use Excel SDK. So you need to reference appropriate Excel libraries, then using those open the created XLS file and add into it what you need. All can be done silently without seeing anything.
You could find some examples of codes perhaps also in this very same forum. If not then you would need to google.