Message 1 of 8
iLogic. Return a formated cell (Date) in a messagebox

Not applicable
09-09-2018
08:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like a messagebox to show the date that is written in a cell (A1) in excel.It does however return me some nonsense numbers, as if my cell wasnt formated. I would like it to read it as a date. I would appreciate any help!
SyntaxEditor Code Snippet
Dim a As String
a=GoExcel.CellValue("myfile.xlsm", "mydocument", "A1")
when i display A1 in a messegebox i get the unformated value of the cell