Indent In Excel



Excel

Hi all
I have some structured data which uses indentations to display a hierarchy (in the 'Format Cells' dialog under 'Alignment' there is a box 'Indent' which shows the indent/hierarchy level). I'm trying to pull out this indent level without success and hope someone may have some ideas.
I looked at using Get.Cell (http://www.mrexcel.com/forum/showthread.php?t=20611) but indent level doesn't seem to be an option. I tried using 53 to get contents as displayed including formatting but it doesn't include any leading spaces/tabs.
Can anyone help?
Thanks
Andrew
Excel

Indent In Excel 2016

To set the indent to be used in a cell, follow these steps: Select the cells you want to format. Choose Cells from the Format menu. Excel displays the Format Cells dialog box. Make sure the Alignment tab is selected. (See Figure 1.) Using the Indent control, specify the number of characters by which. Click on a cell in the first row you’d like to indent, and then click the Indent button on the toolbar. The row above it will become the parent row. NOTE: If the Indent button is unavailable, you may be trying to indent a blank row. In order to create hierarchy, data needs to exist in both the parent, and child rows. Make sure neither row is blank before indenting. Select the numbers you want to right indent. In the Alignment group, click the Increase Indent button once (or the number of levels you want to indent), then click the Right Align button. You can confirm in the Format Cells dialog box that the numbers are right aligned with one indent level.