My problem involves VBA for Excel 97.
I have code that creates a new Workbook object.
My code doesn't save the workbook and I would vastly prefer to leave that option up to the user.
What I don't like (and ergo, would like to change) is that if the user goes to "File -> Save" or "File -> Save As", Excel automatically recommends "Book1.xls" as the file name.
I would like to be able to suggest a file name in the "Save" dialog box for Excel 97 based on the contents of the file.
Does anyone know of a way to do this?
Any help here would be great.
Thank you for your time,
Pete
I have code that creates a new Workbook object.
My code doesn't save the workbook and I would vastly prefer to leave that option up to the user.
What I don't like (and ergo, would like to change) is that if the user goes to "File -> Save" or "File -> Save As", Excel automatically recommends "Book1.xls" as the file name.
I would like to be able to suggest a file name in the "Save" dialog box for Excel 97 based on the contents of the file.
Does anyone know of a way to do this?
Any help here would be great.
Thank you for your time,
Pete