Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Autocad & excel

I was wondering is there a way for excel VB to extract information from a
autocad drawing? Autocad can extract the block attributes into a csv file,
but I would like to do a one click kind of thing.

Thanks for your feed back.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Autocad & excel

You can open, read and extract data/text from a csv file with Excel VBA
I picked it up from J Walkenbach,s "Power Programming with VBA"
You can probably write a command line batch file to create the .csv with
Autocad
Your Excel process would be:
run command line batch file to create .csv
open the csv, read, extract relevant data, store data in spreadsheet
you will need to use the shell function between these 2 steps, see:
http://www.cpearson.com/excel/ShellAndWait.aspx
Hope this gives you a start


"Novice Lee" wrote:

I was wondering is there a way for excel VB to extract information from a
autocad drawing? Autocad can extract the block attributes into a csv file,
but I would like to do a one click kind of thing.

Thanks for your feed back.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AutoCad/Excel SteffenAndreassen Excel Discussion (Misc queries) 6 September 2nd 08 01:02 AM
Excel-AutoCad compatibility ss Excel Discussion (Misc queries) 3 February 4th 08 09:14 PM
autocad in excel superhumanboy Excel Discussion (Misc queries) 2 February 11th 05 03:41 PM
edit an autocad r14 object to open in autocad 2000 Derek Excel Discussion (Misc queries) 0 January 20th 05 09:51 PM
Running autocad from excel Anon[_3_] Excel Programming 0 September 14th 04 04:47 PM


All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"