R
Richard
I receive a series of daily share prices in an html email which I save
as a file and then have a macro load this file into a data sheet.
Amongst all the html stuff there are recognisable share price strings
like this in Column A
ARM Holdings 116.00p -0.03p (-2.11)
Amino Technologies 98.50p 0.00p (-0.00)
BAA 872.50p -0.01p (-0.06)
McCarthey and Stone 766.00p 0.04p (0.52)
I'd like to slice these up so that in columns B:C I end up with the
following
B1: Arm Holdings, C1: 116.00
B2: Amino Technologies, C2: 98.50
B3: BAA, C3: 872.50
B4: McCarthy and Stone, C4: 766.00
Unfortunately some names are two or more words long, and others a
single word, which makes identifying the split between the name and the
price difficult.
Until recently, Digital Look.com who send the emails had a slightly
different layout where there was a unique identifier company ID code
surrounded with ( ) which made it reasonably easy to identify the split
between the name and the price. However their layout has now changed to
the above, and I'm strruggling to find an elegant solution to slicing
the string.
I'd be grateful for any help or suggestions
Usual TIA,
Richard Buttrey
as a file and then have a macro load this file into a data sheet.
Amongst all the html stuff there are recognisable share price strings
like this in Column A
ARM Holdings 116.00p -0.03p (-2.11)
Amino Technologies 98.50p 0.00p (-0.00)
BAA 872.50p -0.01p (-0.06)
McCarthey and Stone 766.00p 0.04p (0.52)
I'd like to slice these up so that in columns B:C I end up with the
following
B1: Arm Holdings, C1: 116.00
B2: Amino Technologies, C2: 98.50
B3: BAA, C3: 872.50
B4: McCarthy and Stone, C4: 766.00
Unfortunately some names are two or more words long, and others a
single word, which makes identifying the split between the name and the
price difficult.
Until recently, Digital Look.com who send the emails had a slightly
different layout where there was a unique identifier company ID code
surrounded with ( ) which made it reasonably easy to identify the split
between the name and the price. However their layout has now changed to
the above, and I'm strruggling to find an elegant solution to slicing
the string.
I'd be grateful for any help or suggestions
Usual TIA,
Richard Buttrey