2004-09-12 07:11 PM
2004-09-12 07:33 PM
2004-09-12 08:13 PM
Karl wrote:You can get a list straight from Attribute Manager, but that's not much use in explaining the logic of a pen set-up. I was definitely thinking of something graphical. I started doing it manually, with fills and attached labels, typing the pen number inot the ID field one at a time. Not a big deal, but it would be so cool if the whole thing was automatic.
If just a list is OK, then SQL should be able to do the trick...
2004-09-12 08:51 PM
2004-09-12 08:55 PM
2004-09-12 09:01 PM
nRow = 2 ' skip heading row While Cells(nRow, 1).Value <> "" Range(Cells(nRow, 2), Cells(nRow, 4)).Select Selection.Interior.Color = _ RGB(Cells(nRow, 2), Cells(nRow, 3), Cells(nRow, 4)) nRow = nRow + 1 Wend Cells(1, 1).Select ' jump back to top of sheet