Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Listbox textalign

It is possible to give a different textalignement for some columns of a
listbox?
I want that some columns have a textalignement left and some columns have a
textalignement right. I don't know if it is possible. I have to put the
command in a macro.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Listbox textalign

Hi R4gtl,

It's not possible without jumping through some hoops. If you use a
fixed-width font like Courier New, then you can pad the columns with leading
spaces to achieve right-alignment.

Otherwise, you could look into using the ListView control if it's available
to you.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


R4gtl wrote:
It is possible to give a different textalignement for some columns of
a listbox?
I want that some columns have a textalignement left and some columns
have a textalignement right. I don't know if it is possible. I have
to put the command in a macro.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
listbox B conditional of input in Listbox A Kim K Excel Discussion (Misc queries) 1 October 31st 06 08:27 PM
TextAlign in Combo Boxes Barry Jive Excel Discussion (Misc queries) 2 June 25th 05 04:52 PM
Multicolumn Listbox and ordinary listbox Ron_D Excel Programming 0 June 4th 04 08:56 PM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM
Is refreshing listbox rowsource in listbox click event possible? Jeremy Gollehon[_2_] Excel Programming 4 September 25th 03 06:45 PM


All times are GMT +1. The time now is 02:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"