Ive found some code online, whether it works or not im not sure, i was going to try and get over this hurdle first before I worried myself with the conversion
Hex to binary:
Function h2b(hstr)
'convert hex string to binary string
cnvarr = Array("0000", "0001", "0010", "0011", _...