Message 1 of 3
document problem(VBA)

Not applicable
07-15-2008
06:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dim path As String
Dim i As Integer
For i = 0 To 10
Layer = "e:\" & i & ".dwg"
Dim Doc As AcadDocument
Set Doc = ThisDrawing.Application.Documents.Add()
Doc.SaveAs path
Doc.Close False
next
CAD08 failed,only set up one document,then not run,however 04 and 09 OK,
please help
thanks very much~
Dim i As Integer
For i = 0 To 10
Layer = "e:\" & i & ".dwg"
Dim Doc As AcadDocument
Set Doc = ThisDrawing.Application.Documents.Add()
Doc.SaveAs path
Doc.Close False
next
CAD08 failed,only set up one document,then not run,however 04 and 09 OK,
please help
thanks very much~