Hi,
I am new to VB. This is really the first time I have looked into using it so please excuse my complete lack of understanding.
So here is my question.
I have a line of numbers in one cell (B2). They look like this;
1, 21, 21, 94, 64, 2, 213
These numbers are currently in Decimal format (more on that later).
I need to "split" these numbers into individual cells and drop the comma. It would look like this;
B3 B4 B5 B6 B7 B8 B9
1 21 21 94 64 2 213
I know I can use the "text to column" function but I was hoping for a VB script to do this.
The second part is I then need to convert the numbers from decimal to Hex and add a "0" to the front of any single digit numbers.
I can do this part using standard excel formulas with no problems but if it could be added to the script then that would be great.
The final thing needs to look like this;
B3 B4 B5 B6 B7 B8 B9
01 15 15 5E 40 02 D5
Any help would be greatly appreciated.
Regards
Daniel.
Bookmarks