LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How to Format a ListBox column

Hi Juan Pablo
As simple as that!! It fixed the problem fine.
Very many thanks - I much appreciate your input.
Regards
Don Bowyer

-----Original Message-----
Try changing this

MyDate = cc.Offset(rowOffset:=0, columnOffset:=-2)

with

MyDate = cc.Offset(rowOffset:=0, columnOffset:=-

2).Text

and also, Dim MyDate as String, at the top of the module.

--
Regards,

Juan Pablo González

wrote in message
...
Hi Juan Pablo
The source data is in "Worksheet2" & consists of three
columns. The first is RangeName "MyBaseDate" containing
dates in form "dd,mm,yy" , the second is associated text
and the third is RangName "MyAlarms". In "MyAlarms" some
cells are blank and some contain an identifier to indicate
an alarm is required on the corresponding date in
column1 "MyBaseDate".

The code below populates a two column ListBox with the
date and associated text of each "alarmed" date.

It works ok, but lists the dates in the US
format "mm,dd,yyyy" instead of in the source
format "dd,mm,yy"


.



 
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 format Rich Young Excel Discussion (Misc queries) 0 June 30th 08 09:35 PM
format a listbox gem.g Excel Discussion (Misc queries) 1 June 21st 06 02:58 AM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM
Format columns in a ListBox? Soniya Excel Programming 1 October 12th 03 11:40 AM
listbox format... Tom Ogilvy Excel Programming 0 August 28th 03 11:45 PM


All times are GMT +1. The time now is 08:13 PM.

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

About Us

"It's about Microsoft Excel"