View Single Post
 
Old 10-04-2007, 07:31 AM
mfgeng_iss mfgeng_iss is offline
Novice
 
Join Date: Oct 2007
Posts: 1
mfgeng_iss
Default "IF" "THEN" statements in Macros

I’ve created a Fluid Schematic diagram and am currently automating it in order to visually track valve positions (open/closed) and what systems are pressurized. Using the record macro option; I’ve associate two buttons for each valve, one open(green #3) the other close(red #2). Upon double clicking the open button [shapes.item(6)] for Valve “A” the open button turns green, the close button turns white and lines 1,2,3 change from black (indicating no pressure) to purple (indicating pressure). I want to add this condition: If Valve “B” is open “Then” change lines 4 and 5 to purple. Note: Valve “B” is open when shapes.item(7)=”3”. Can you help?

Thanks
Dave
Reply With Quote