Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Listbox format | Excel Discussion (Misc queries) | |||
format a listbox | Excel Discussion (Misc queries) | |||
listbox.value not equal to listbox.list(listbox.listindex,0) | Excel Programming | |||
Format columns in a ListBox? | Excel Programming | |||
listbox format... | Excel Programming |