I figured out why I was getting zeros instead of formula results (typo on the R1C1 location). I could still use some help with the dates though. This is a snippet:
#include <ExcelCOM_UDF.au3> ; Include the Excel collection
#include <Array.au3> ; Include the Array collection
$FilePathONE = FileOpenDialog("Select the first file", "", "Excel files (*.xls;*.xlsx;*.csv)", 1) ;browse for the XLS file
If @error Then
MsgBox(4096,"","No File chosen")
exit
EndIf
$oExcelONE = _ExcelBookOpen($FilePathONE, 0) ;open the chosen XLS file
$sExcelTitleONE = $oExcelONE.Name & " - " & $oExcelONE.ActiveWorkbook.Name ;Get window title
$sExcelSheetONE = _ExcelSheetNameGet($oExcelONE) ;get the active sheet name
$val = _ExcelReadCell($oExcelONE, 3, 4)
Msgbox(0,'Cell value as seen by AutoIT',$val)
_ExcelBookClose($oExcelONE, 0,1)
If I read a cell with a date, for example 1/15/2005, then $val will = 20020115000000
Is there a way when using _ExcelWriteCell to write the date back using slashes, rather than 20020115000000? Thanks for the advice.