I am using forms for user input (which run from the Workbook_Open event), which modify the characteristics of a file. I don't want the user to see the file in the spreadsheet (which is an imported text file, and will be written out as a text file after required changes are made).
I have tried minimising the Excel window in the code, using
Application.Windowstate=xlMinimized, but if I put this in the Workbook_Open event, I get a minimized window in the task bar which is flashing, because it can't display the form until it has been maximized. The same thing happens if I put the code in the UserForm_Initialize event.
As a last resort, I set up a shortcut on the desktop to the workbook, to run minimized, however I have found that although this works ok with Excel97 and Windows 98, it doesn't with Excel2000.
I'm sure there must be a good way to do this, that I can't figure. Can anyone help me with this?
I have tried minimising the Excel window in the code, using
Application.Windowstate=xlMinimized, but if I put this in the Workbook_Open event, I get a minimized window in the task bar which is flashing, because it can't display the form until it has been maximized. The same thing happens if I put the code in the UserForm_Initialize event.
As a last resort, I set up a shortcut on the desktop to the workbook, to run minimized, however I have found that although this works ok with Excel97 and Windows 98, it doesn't with Excel2000.
I'm sure there must be a good way to do this, that I can't figure. Can anyone help me with this?