Jump to content

Is changing pipe label styles in VBA possible?


Recommended Posts

Posted (edited)

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...