Hi Sachin,
[quote user="sachin patel"]i want a macro[/quote]
This community is a place where experience and best practices for MicroStation programming are discussed by people who write a code. As I wrote earlier, I don't know and I am not sure if you are searching for somebody who will write the macro for you or you are asking for a help with a specific VBA issue and you will write the macro by yourself.
[quote user="sachin patel"] that can open Dgn file copy all content from that DGN file then paste it to Excel.same for remaining all files in Folder.[/quote]
It's "doable". I see three main functional parts: Files in a particular folder iteration, scanning of DGN file for tags and storing the results in Excel. All three parts look mostly like standard tasks, so it should be not extremely complicated (but my knowledge of connecting to Excel is limited). It can turn to more complex if e.g. tags are inside cells so not directly accessible, but it's about testing and modifying the code if necessary.
[quote user="sachin patel"]I just want all data regardless of Either they are tagset or normal text.[/quote]
Texts and tags are very different animals and in code they have to be processed separately. They are similar, but not the same.
[quote user="sachin patel"]i want a macro[/quote]
If you will not write the macro by yourself (and nobody will pull working code out of his pocket), you should investigate possible workarounds:
- In MicroStation V8i you can define tags template and to generate reports as text or XML. I think there is no key-in, but it can be generate manually or started repeatedly using a recorded macro.
- If you have an access to MicroStation CONNECT Edition, it allows to display existing tags as a table, that can be exported to xlsx format.
With regards,
Jan