#!/bin/bash
. findwine
if [ -e "$HOME/.wine/c/Program Files/MSOffice/Excel/EXCEL.EXE" ]; then
  $WINE "c:\\program files\\msoffice\\excel\\excel.exe" ${PARAM:+"$PARAM"} &>/dev/null &
elif [ -e "$HOME/.wine/c/MSOffice/Excel/EXCEL.EXE" ]; then
  $WINE "c:\\msoffice\\excel\\excel.exe" ${PARAM:+"$PARAM"} &>/dev/null &
else
  excelview97 $@
fi
wait $!
