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

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

$
0
0

You stated you didn't want to use VBA, but it would be simpler than MDL or C++ (not sure about C# but you may be able to apply the same principal)

I wrote a MVBA script to export Microstation text to a spreadsheet.

First attached the Microsoft Excel 11.0 (or later) Object Library as a Reference.

Create a connection to the Excel.Application object and using the Excel.Workbook, Excel.Worksheet and Range objects you will be able to copy data from the known range in MS Excel.

This is only a simple explanation but with the information I gleened from the internet I was able to develop the application.

Mr Excel and Chip Pearson have some good information regarding MS Excel VBA for reading ranges etc.

HTH

Steve


Viewing all articles
Browse latest Browse all 1677

Latest Images

Trending Articles



Latest Images

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