Message 1 of 9
cant set stylesheet

Not applicable
02-03-2004
08:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Ok, others have had this problem and I havent seen a definative answer yet.
Can anyone tell me why the following code snippet bombs when I attemp to set
the stylesheet property?
Setting it to an empty string works, but trying to put an actual style sheet
name into it gives a runtime error.
Yes, the .ctb file does exist, I tried tacking on full path, etc. no luck
Thanks
strStyleName = "HP1120-mono.ctb"
With objLayout
.PlotWithPlotStyles = True
.StyleSheet = ""
.StyleSheet = strStyleName
.RefreshPlotDeviceInfo
End With
--
Perry Leets
Inovec Optimization and Control Systems
Eugene, Oregon