Stewart531
Programmer
I'm trying to send a string into a cell. The string contains a date of the form xx/xx/xx xx:xx AM/PM. The problem is that vb treats the xx/xx/xx as an operation, and sends a decimal to the cell in the spreadsheet. Here is an example of the code:
msobj.Cells(1, 1).Value = strDate
I'm pretty sure this is happening on the vb side because I set the column's properties to "text only". Any ideas? Thanks.
msobj.Cells(1, 1).Value = strDate
I'm pretty sure this is happening on the vb side because I set the column's properties to "text only". Any ideas? Thanks.