Jump to content
thereisnotime

Is changing pipe label styles in VBA possible?

Recommended Posts

thereisnotime

Just like the title says, since I'm able to change the pipe style, I'm wondering if I'm able to change the pipe's label style as well in VBA. It seems like I can read the style name, but I can't seem to find a way to actually change the style to something else. I'm trying to do something like this (similar method to changing a pipe style), but it's giving me a type mismatch error on the "Set spsLabel.LabelStyle = b" line:

 

Note that both of these styles exist, so it's not the fact that I'm trying to change a style to something that doesn't exist.

 

EDIT: Just read the developer's guide...

The label style of a particular pipe cannot be set using the API.

 

So much for that idea :(

Edited by thereisnotime

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×