Message 1 of 8
Shuffeling application windows

Not applicable
12-14-2002
03:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am writing a procedure in AutoCAD that uses Excel. I am using the excel
file open dialog to opening an Excel file. When I use the GetOpenFilename to
select the file I had to get the Excel application on top and used
"apExcel.Application.Visible = True" where apExcel is my excel application
object. Now when I have Then when I have finished working in Excel, control
reverts back to AutoCAD. Any subsequent dialogs or forms are not visible as
they are hidden behind the Excel application window. I tried setting
"ThisDrawing.Application.Visible = True" but this did not put the AutoCAD
application object on top. I am a bit reluctant to set
"apExcel.Application.Visible = False" as if I crash out of my routine Excel
will be invisible. Is there a way to put various applications on "top"?
I will be having this problem a lot as I will be jumping between AutoCAD and
Excel a lot as my form where I set the ranges is in AutoCAD and my data is
in Excel.
Any assistance will be appreciated.
Regards
Sean
I am writing a procedure in AutoCAD that uses Excel. I am using the excel
file open dialog to opening an Excel file. When I use the GetOpenFilename to
select the file I had to get the Excel application on top and used
"apExcel.Application.Visible = True" where apExcel is my excel application
object. Now when I have Then when I have finished working in Excel, control
reverts back to AutoCAD. Any subsequent dialogs or forms are not visible as
they are hidden behind the Excel application window. I tried setting
"ThisDrawing.Application.Visible = True" but this did not put the AutoCAD
application object on top. I am a bit reluctant to set
"apExcel.Application.Visible = False" as if I crash out of my routine Excel
will be invisible. Is there a way to put various applications on "top"?
I will be having this problem a lot as I will be jumping between AutoCAD and
Excel a lot as my form where I set the ranges is in AutoCAD and my data is
in Excel.
Any assistance will be appreciated.
Regards
Sean