Use of MID function for Variable Extraction
Hi,
I have a need to extract the figure before "%" symbol. I tried using the script below but unable to achieve it. I will appreciate any assistance on the right function.
Range("T" & z).Value = Mid(Range("M" & z), 1, 4)
14.20% USD FEDERAL GOVERNMENT BOND
5.20% USD FEDERAL GOVERNMENT BOND
14% USD FEDERAL GOVERNMENT BOND
Desired Result:
14.20
5.20
14
|