Problem with Pastspec cells from excel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi at all!
I make a premise:
In my scenario Autocad must be invisible to user and not must have interactions whit him!
I'm programming in c# (i'm using ActiveX via COM/Interlop on c#)
I'have a issue when i try to call
Worksheet worksheet = excelManager.GetCurrentWorkSheet();
worksheet.get_Range("A1", "D6").Copy(); //this perform a copy like Ctrl+C on selected cell in a excel window
ThisDrawing.sendcommand("_pastspec "); //after copying the excel cells of interest
the autocad application (that run in background) show the window dialog to select the pastspec's setting preferences.
I'm not able to handle that window dialog.
the execution hangs on sendcommand line, waiting response to autocad windowdialog.
Do you know one way to handle this windowdialog? (I would choose "Autocad Entities" option in that window)
Thanks in advice for your time.