Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save file as a .dwg or .dxf file
Is there a way of saving a spreadsheet or a selected range as a .dwg or .dxf
file? I am trying to copy a range from excel 2000 and insert it into a cad package. Ideally i would like this to be automatic therefore VBA code would be good. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save file as a .dwg or .dxf file
Hi Stepehen,
Not sure if this is what you want. Give it a try. 1) In Excel - Tools-Macro-VBE 2) Insert module. Past the code below. This code saves the entire workbook with .dwg xtsn in the C drive (Replace to dxf if necessary) Sub SaveAsDwg() ThisWorkbook.SaveAs "C:\myfilename.dwg" End Sub Hth -- Tausif Mohammed "Stephen C" wrote: Is there a way of saving a spreadsheet or a selected range as a .dwg or .dxf file? I am trying to copy a range from excel 2000 and insert it into a cad package. Ideally i would like this to be automatic therefore VBA code would be good. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save file as a .dwg or .dxf file
I had already tried this, the file will not open in the cad software, "Can't
determine file type" I believe it is not being saved in excel as a true dwg/dxf, it is only forcing the file extension to be dwg/dxf "Tausif" wrote: Hi Stepehen, Not sure if this is what you want. Give it a try. 1) In Excel - Tools-Macro-VBE 2) Insert module. Past the code below. This code saves the entire workbook with .dwg xtsn in the C drive (Replace to dxf if necessary) Sub SaveAsDwg() ThisWorkbook.SaveAs "C:\myfilename.dwg" End Sub Hth -- Tausif Mohammed "Stephen C" wrote: Is there a way of saving a spreadsheet or a selected range as a .dwg or .dxf file? I am trying to copy a range from excel 2000 and insert it into a cad package. Ideally i would like this to be automatic therefore VBA code would be good. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save file as a .dwg or .dxf file
You can select the range then SHIFT + EditCopy as picture.
Then paste to your CAD The automatic part is another ball of wax that I think would be over my head. Gord Dibben MS Excel MVP On Fri, 25 Jul 2008 02:23:00 -0700, Stephen C wrote: Is there a way of saving a spreadsheet or a selected range as a .dwg or .dxf file? I am trying to copy a range from excel 2000 and insert it into a cad package. Ideally i would like this to be automatic therefore VBA code would be good. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel 2003 file converted to .xlsm file when save to network drive | Excel Discussion (Misc queries) | |||
copy the same raws of all sheets from about a 100 file to a new sheet of a book and save the file | Setting up and Configuration of Excel | |||
Excell2003 (SP-1) File > Save and File > Save As.. grayed out | Excel Discussion (Misc queries) | |||
save excel file from a table delimited file (.txt) using macros | New Users to Excel | |||
Office 2003 - "autocomplete" in file | open or file | save no longer works | Excel Discussion (Misc queries) |