matrixindicator
IS-IT--Management
Code:
xlWorkSheet.Cells(iRow, iCol + 3).NumberFormat = "@"
xlWorkSheet.Cells(iRow, iCol + 3) = Format(rst1.Fields(iCol - 1).Name)
I have an export from access to excel along vba. I have a little format problem.
A value like "01-04" should be seen as a string. However when writing to excel. Excel sees this as a date and write januari-4.
I tried something with numberformat, but this is not working. What am I missing ?