0

I have a vb6 code that read value from excel which is in mm-yy format . I want to convert it as dd-mm-yyyy format in my application

My vb6 code for reading column is

.Range(Purchase_Excel!ExpdateColumn & intLoopCounter)

where counter is the row number

Pᴇʜ
  • 56,719
  • 10
  • 49
  • 73
MANOJ AP
  • 56
  • 5

1 Answers1

0

Try to wrap the column reader with the format function like this:

Format(.Range(Purchase_Excel!ExpdateColumn & intLoopCounter), "mmm yyyy")
Ricardo Diaz
  • 5,658
  • 2
  • 19
  • 30