New answers tagged code
The code sample you listed is Ratfor (Rational Fortran). https://en.wikipedia.org/wiki/Ratfor The original file is cited as Ratfor on this webpage. http://www.econ.uiuc.edu/~roger/research/rqn/rqn.html
First, to combine a set of independent regexs, just use the Alternation character ( | ) character between them, meaning "this expr OR than expr". for example: expr1 = "^[a-z]+" expr2 = "^[0-9]+" combinedexpr = "^[a-z]+ | ^[0-9]+" The combinedexpr would match any string that started with a lower case letter OR a number. As for NPP, Usually the regex find ...
In Windows, the wake source is logged in the System Log. I'm not sure if it specifically logs your WOL-packet as a source, but you'd have to try for yourself as there are different systems in place which why the method described below is not fail-proof. (I hope all the English terms are correctly translated as I am using a Dutch copy of Windows. Therefore, ...
To use RGB you simply use Sheet1.Cells(i, 1).Interior.Color = RGB(0,255,0) You can then review this site, which shows you the color index, the HEX and the RGB equivalent of each http://dmcritchie.mvps.org/excel/colors.htm So, in the example above this is the same as Color.Index 4 (green)
Top 50 recent answers are included