dumbledown
New Member
- Joined
- Nov 8, 2010
- Messages
- 28
Hi,
I have a large diagram with over 400 lines in.
I have another sheet with 2 columns, 1 with the shape names and 1 with values that update - to have values of 1 or 0.
e.g.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Shape_code[/TD]
[TD]Number[/TD]
[/TR]
[TR]
[TD]oval 1
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]oval 387[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]freeform 256[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]oval 27[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
Is there a way of importing these columns into VBA automatically so that the drawing sheet will only show those shapes with a 1 next to their name. If formatted manually I would just like the lines or shapes to have and colour fill and no line colour.
It would be great if someone could point me in the right direction.
Thanks
Hugh
I have a large diagram with over 400 lines in.
I have another sheet with 2 columns, 1 with the shape names and 1 with values that update - to have values of 1 or 0.
e.g.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Shape_code[/TD]
[TD]Number[/TD]
[/TR]
[TR]
[TD]oval 1
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]oval 387[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]freeform 256[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]oval 27[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
Is there a way of importing these columns into VBA automatically so that the drawing sheet will only show those shapes with a 1 next to their name. If formatted manually I would just like the lines or shapes to have and colour fill and no line colour.
It would be great if someone could point me in the right direction.
Thanks
Hugh