While running one of my application, excel will be opened at the middle. I need to minimize the excel and stop interacting with it, which means even if I click the excel task bar it should not open excel. It should be always in minimized state.
I have an code which works in XP and is not working in Windows7. Can anyone please provide some solution which works on both XP and windows7.
Code Snippet: ( which works in XP )
ExcelObject.WindowState = xlMinimized
ExcelObject.Interactive = False
I have an code which works in XP and is not working in Windows7. Can anyone please provide some solution which works on both XP and windows7.
Code Snippet: ( which works in XP )
ExcelObject.WindowState = xlMinimized
ExcelObject.Interactive = False