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
SSMS no tables shown in Query Designer
Publish Resource Calendar for all users
GridView control scroll bars are not visible on page reload
Intermittent internet connectivity for PCs in small remote office
Which VMWARE software should i run? ESXi, ESX, vSphere, Server????
Why does a SAV 10.2.4.4000 new installation show up as 10.1.9.9000?
Deploying SharePoint project to Production Server
How do I link combo boxes to select query in a form?
Can't email more than one invoice from Quickbooks Pro 2006 in Outlook
Using Split in VB