Message 1 of 2
Changing an Attribute value with If statement
Not applicable
10-16-2009
11:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to do a search and replace of an attribute value. I have template drawings with multiple occurances of the same attribute "TAG1". I'm trying to write an If statement that will update the value of the attribute based on it's current value. What I'm not sure how to do is how to get VB to read the value. I'm far from a VB expert so any help would be appreciated.
Here's what I'm trying to do in english.
If the value of TAG1 is = to CR1 Then. Not sure how to do this.
Replace with a value from a cell in Excel. I've got this part down.
Thanks in advance.
Mark
Here's what I'm trying to do in english.
If the value of TAG1 is = to CR1 Then. Not sure how to do this.
Replace with a value from a cell in Excel. I've got this part down.
Thanks in advance.
Mark