Hi
I have a macro to extract data from excel to a very specific format in a notepad doc. Most of it is fine but struggling with best way to convert 1 data point.
It's a percentage in excel but the extract must always be 9 characters, eg below:
0.05228% = 000005228
0.52280% = 000052280
5.22800% = 000522800
52.2800% = 005228000
Does anyone have a simple way of doing this?
I have a macro to extract data from excel to a very specific format in a notepad doc. Most of it is fine but struggling with best way to convert 1 data point.
It's a percentage in excel but the extract must always be 9 characters, eg below:
0.05228% = 000005228
0.52280% = 000052280
5.22800% = 000522800
52.2800% = 005228000
Does anyone have a simple way of doing this?