Change the number of spaces for indent

craig.penny

Well-known Member
Joined
May 8, 2009
Messages
656
How can I change the width of an IndentLevel? I've searched on the web and all I can find is how to change the IndentLevel i.e. Cells(1,1).IndentLevel = 1 or Cells(1,1).IndentLevel = 2 which isn't what I'm after. What I want to do is have any given IndentLevel have a larger apparent size.

Any help is appreciated!:)
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Craig

I don't know if it's really an option but you can use InsertIndent to set the indent to whatever you want.
Code:
Cells(1,1).InsertIndent 6
 
Upvote 0
Thanks Norie. I will file that one away.:) It doesn't get at what I was trying to do but I bet it'll come in handy someday.

I could swear I adjusted the width of an indent once upon a time but I'm probably just remembering doing it on an application I use at work that's very similar to Excel.

I've always been curious why you use that icon. Do you have a bird like that?
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,882
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top