Message 1 of 2
ilogic addbaseview not working in main sub structure.

Not applicable
08-07-2013
08:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Why does this not work ?
sub main()
code .....
oView1 = oSheet.DrawingViews.AddBaseView(oPartDoc, oPoint1, 1/1#, kFrontViewOrientation,kHiddenLineDrawingViewStyle)
end sub
but this does ?
code.....
oView1 = oSheet.DrawingViews.AddBaseView(oPartDoc, oPoint1, 1/1#, kFrontViewOrientation,kHiddenLineDrawingViewStyle)