How to format numbers to be stored as text in excel? -


in excel have many cells of number in column formatted text. want convert them formatting "number stored text". can single cell @ time putting apostrophe (') before number , pressing enter. problem how achieve type of formatting rest of cell quickly. have tried create new column ="'"&a2 , copy, not work.

in attached figure have converted cell a2 number formatted text putting ' before , want same rest of cell quickly.number formatted text apostrophe

while may not fastest solution, select cells want text , set formatting text => hit alt + f11

in "immediate" window run:

for each x in selection.cells: x.value = format(x.text,"'@"): next 

Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -