Question : VBA that defines RGB values via cell reference

How do I write this line of code so that it picks up its 3 numeric values from 3 cells containing those integer values? I tried several variations of RGB([A1].Value, [B1].Value,[C1].Value), but none of them worked.

Thanks,
John
1:
rng.FormatConditions(1).Interior.Color = RGB(255, 128, 128)

Answer : VBA that defines RGB values via cell reference

How are you explicity separating the ID's in the file? newlines? any other character?
If you are writing the IDs with writeline, then you may recover them with a loop while(ID=filex.readline())
if you are using any other separator then you may read the whole file into a string and do a datareaded.split('x') where x is the separating character.
Or you can read byte after byte and comparing it against the separator to identify when a new ID is about to start.
Random Solutions  
 
programming4us programming4us