Text Functions MSOfficeExcel 2007 Tutorial

Input the formula: =REPT("*",24-LEN(A1))&A1