Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I have a dwg # in a sheet cell, how can I print that dwg. from excel vba.
This is as far as I got: (I need help with the last 3 lines) Sub print_dwg_from_excel() A = ActiveWindow.ActiveCell.Value B = Dir("c:\AUTOCAD\" & A") C = "c:\AUTOCAD\" & B Set fs = CreateObject("SCRIPTING.FILESYSTEMOBJECT") Set f = fs.GetFile(C) s = f.PrintOut End Sub thanks in advance Al |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Autocad & excel | Excel Programming | |||
AutoCad/Excel | Excel Discussion (Misc queries) | |||
HOW DO I GET CELL LINES TO NOT PRINT IN AUTOCAD DWG? | Charts and Charting in Excel | |||
autocad in excel | Excel Discussion (Misc queries) | |||
edit an autocad r14 | Excel Discussion (Misc queries) |