Microsoft
Software
Hardware
Network
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
Send Mail via Google Apps
asp.net, c#, drop down list error
MS SQL count total time.
Convert web.config from .NET 3.5 to 4.0
Email Marketing Reseller Solution
asp - The resource could not be found
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
having trouble installing SP3 for Exchange Server 2007 before installation begins
SBS 2003 server losing computer account
iPad Camera Connection Kit does not display .jpg images on iPad