Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Right Justify List Box Entries

I have a multi column list box that is filled through an array from my code.

Several columns contain numerical data which I want right justified within
the column at the time I write the array. Does anyone have any idea how to do
this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Right Justify List Box Entries

You would have to pad the data with spaces.

--
Regards,
Tom Ogilvy

"Dandog" wrote in message
...
I have a multi column list box that is filled through an array from my

code.

Several columns contain numerical data which I want right justified within
the column at the time I write the array. Does anyone have any idea how to

do
this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Right Justify List Box Entries

Tom - I thought you of all people would have come through with a beautifully
crafted technical answer :-).

I think I'll stick with the defaults if there is no way around it other than
inserting spaces. It is about time the engineers at MS thought about the
presentational aspects of some of their forms controls!

Thanks for the response.

"Tom Ogilvy" wrote:

You would have to pad the data with spaces.

--
Regards,
Tom Ogilvy

"Dandog" wrote in message
...
I have a multi column list box that is filled through an array from my

code.

Several columns contain numerical data which I want right justified within
the column at the time I write the array. Does anyone have any idea how to

do
this?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Right Justify List Box Entries

Dandog,

You could use a ListView control, which allows for column alignment, native
sorting, and individually-formatted rows.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

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


Dandog wrote:
Tom - I thought you of all people would have come through with a
beautifully crafted technical answer :-).

I think I'll stick with the defaults if there is no way around it
other than inserting spaces. It is about time the engineers at MS
thought about the presentational aspects of some of their forms
controls!

Thanks for the response.

"Tom Ogilvy" wrote:

You would have to pad the data with spaces.

--
Regards,
Tom Ogilvy

"Dandog" wrote in message
...
I have a multi column list box that is filled through an array from
my code.

Several columns contain numerical data which I want right justified
within the column at the time I write the array. Does anyone have
any idea how to do this?


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
Reducing a List by Eliminating Entries from Another List Ralph Excel Discussion (Misc queries) 7 September 30th 09 12:57 AM
how to identify unique list of 200 random entries from a list of 3 tjb Excel Worksheet Functions 3 August 13th 07 02:15 PM
make a list from another list ignoring duplicate entries from orig Kroka Excel Worksheet Functions 1 March 7th 07 10:36 PM
How justify list of words? Don J Excel Discussion (Misc queries) 2 March 5th 07 12:26 AM
Removing all entries in one list that appear in a different list WLarson Excel Discussion (Misc queries) 1 May 12th 06 02:39 AM


All times are GMT +1. The time now is 08:20 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"