I open up a workbook in Escel using the following code in a macr:
Workbooks.Open "D:\DBTest.xls"
Set wbTemp = ActiveWorkbook
I then want to minimize the workbook.
I have tried the following but they have not worked:
ActiveWorkbook.Windowstate = xlMinimize
wbTemp.Windowstate = xlMinimize
Any Helpful hints as to make it work?
Workbooks.Open "D:\DBTest.xls"
Set wbTemp = ActiveWorkbook
I then want to minimize the workbook.
I have tried the following but they have not worked:
ActiveWorkbook.Windowstate = xlMinimize
wbTemp.Windowstate = xlMinimize
Any Helpful hints as to make it work?