-
1
- #1
This code works well with one sheet
But i want to run thru all the sheets and delete everything in the background view.
In spite of For Each DrwSheet ....next, it's not going to next sheet.
Any help will be appreciated.
Cheers.
Code:
For Each DrwSheet In MyDrawingDoc.Sheets
Selection.Search "Drafting.View.Name='Background View' "
Selection.Search "Type=*,scr"
Selection.Remove (1)
Selection.Delete
drwviews.Item("Main View").Activate
Next
In spite of For Each DrwSheet ....next, it's not going to next sheet.
Any help will be appreciated.
Cheers.