I am using Excel to average angles derived from GPS measurements.
Angles are imported into Excel with no spaces after the ° and ' symbols; ie 123°05'09".
I am using VBAs obtained from the following link:
http://support.microsoft.com/kb/213449
to convert angles between decimal degrees and degree minutes seconds.
These VBAs require a space after the ° and ' symbols; ie 123° 05' 09", which I create with the SUBSTITUTE function.
Angles are then converted to decimal degrees averaged then converted back to degrees minutes seconds.
Unfortunately the final step strips leading zeros before minutes and seconds that are single digit numbers; ie 123° 5' 9".
I need to retain the leading zeros so i can import these values directly into another package.
Does anyone have any suggestions?
Thanks in advance.
Bookmarks