Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 383

[C#/mdl/V8i] link an excel spreadsheet in a dgn

$
0
0

Hi,

I would like to link an excel spreadsheet in my dgn by code

I do the copy of the excel range i want to link then I would like to do a special past without user action

In V8 2004 I send  the command : MDL KEYIN CLIPBRD CLIPBOARD PASTESPECIAL with the string type parameter I want the special copy use

(ex : MDL KEYIN CLIPBRD CLIPBOARD PASTESPECIAL  Lier Feuille de calcul Microsoft Office Excel 2003) and the special paste function run without the modal dialog box where the user need to choose the type

In V8i ss3(08.11.09.308) this action doesn't work. If i run the commande MDL KEYIN CLIPBRD CLIPBOARD PASTESPECIAL, I had the modal dialog box for choosing the special data type, but I need to do the paste without this dialog box.

Is it a solution?

Is it a way to develop my own command to do the special paste for having an ole link in the dgn like the pastespecial link to excel (C# or mdl or c++)???

Best Regards

Seb


Viewing all articles
Browse latest Browse all 383

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>