Format the value before adding it.
orSet LstItem = Me.ListView1.ListItems.Add(Text:=Format(rngData(i, 1).Value, "currency"))
Same with the ListSubItemsSet LstItem = Me.ListView1.ListItems.Add(Text:=Format(rngData(i, 1).Value, "#,##0.00"))
Format the value before adding it.
orSet LstItem = Me.ListView1.ListItems.Add(Text:=Format(rngData(i, 1).Value, "currency"))
Same with the ListSubItemsSet LstItem = Me.ListView1.ListItems.Add(Text:=Format(rngData(i, 1).Value, "#,##0.00"))
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks