Yes but it takes a few steps.
How to check text format in excel. Here SEARCHC3B3 will find the position of text in cell C3 within cell B3 it returns 22. IFLEFTCELLformattestSheetD2110 testSheet is the candidate sheet. You can also use SEARCH and FIND functions in combination to find the text substring from a given string.
In that case read your excel file into an excel object. Click the Home tab at the top of the window. Value is the number to be formatted as text and should be a numeric value.
Choose the Time data type in the Allow dropdown menu. You can use the TEXT function to embed formatted numbers inside text. Finally select the first cell where you want to insert the text strings and press CtrlV to paste them.
You can do this without VBA and with just an Excel formula however there is a caveat that may or may not be important to you. Next adjust your completed TEXT function to include the ASCII function CHAR10 where you want the line break. To do this press Ctrl1 to open the Format Cells dialog and select Text on the Number tab.
Locate the drop-down menu at the top of the Number section in the ribbon. Select the cell or cells that you wish to check during entry. In the Symbol dialog box that opens select Segoe UI Symbol as the font.
In the Insert File at Cursor dialog click Browse to show Select a file to be inserted at the cell cursor position dialog select Text Files from the drop down list next to File name choose one file you need and click Open. TEXT is available in all versions of Excel. First select the cell or cells where you want this to happen and use Ctrl1 to bring up the Format Cells dialog then Alignment Text control check the Wrap Text option.