I have a tricky one. I am creating an org chart in powerpoint and have about 400 different boxes that will need to get various color coded shapes in them. I am planning on pasting linked metafiles and would like the shapes to be dynamic and change as I make edits to the associated spreadsheet. I have a spreadsheet with about 400 lines and within each line are 10 different scenarios, each column and each line will get a 0's or -1's.
I am trying to write code that will automatically hide Oval 1 when Cell A1 = 0 and unhide i when A1 = -1.
A B C D E F G H I J 1 2 3 4 5 6 7 8 9 10
1 -1 0 0 0 -1 0 0 0 1 0 OVAL 1 Oval 2 ...
2 0 0 -1 -1 0 1 Oval 11 oval 12 ... ... ... ... ... ... ... ...
I am able ot do it pretty easily with the following code, but always have trouble with the references and having the loop work properly. (ie, had the idea to calculate the oval # by doing Row of the oval * 10 + the column (eg, Oval Row 1*10+column2 = Oval 12).
Basically want to do the following code on each of the 10 scenarios and hide/unhide the associated ovals in the adjacent columns.
Any ideas?
#
#Please Login or Register to view this content.
Bookmarks