How can I create a new excel workbook, save it with a name based off a field on my form then open the newly created excel file?
I would imagine it would be along the lines of creating a new excel application that is hidden, close it, rename it then reopen it.
My reason for this is to assure that the file is named correctly and saved in the right spot. I already store the file path I want to save to in a control on my form, so that part is easy.
I know how to create the file using the CreateObject method, but beyond that, I am lost.
I would imagine it would be along the lines of creating a new excel application that is hidden, close it, rename it then reopen it.
My reason for this is to assure that the file is named correctly and saved in the right spot. I already store the file path I want to save to in a control on my form, so that part is easy.
I know how to create the file using the CreateObject method, but beyond that, I am lost.