Excel: does anyone know how to encode subscripts?

I need to write things like H2O in the Excel but 2 of course being subcripted. Does anyone know how to code for that in VBA?

This question generated 25 answers. To proceed to the answers, click here.

This thread is current as of May 30, 2014.

For more resources for Microsoft Excel