ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Format columns in a ListBox? (https://www.excelbanter.com/excel-programming/279351-format-columns-listbox.html)

Soniya

Format columns in a ListBox?
 
Hi all,

Is it possible to format (alignment) of columns in a list
box?

we can assign column width, same way can we adjust
alignment too?

I have four column in a listbox like:
Heading, amount, date, remarks.

i would like to get the amount column right aligned,
heading left and others centre?

TIA
Soniya

Ron de Bruin

Format columns in a ListBox?
 

Hi Soniya

You can align all the columns of a ListBox with the TextAlign property, but you can't specify different alignments by
column.


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Soniya" wrote in message ...
Hi all,

Is it possible to format (alignment) of columns in a list
box?

we can assign column width, same way can we adjust
alignment too?

I have four column in a listbox like:
Heading, amount, date, remarks.

i would like to get the amount column right aligned,
heading left and others centre?

TIA
Soniya





All times are GMT +1. The time now is 08:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com