i know that i can write the excel.exe in my line like:
StartDoc = ShellExecute(Application.hWndAccessApp, "Open", "C:\Program Files\Microsoft Office\Office14\excel.exe" "c:\a.csv", "", "C:", SW_SHOWNORMAL)
but in other cases it can be another folder.
so what i need is the default excel application