#****************************************************************************
# read a excel file to get emi settings
#****************************************************************************
# get already active Excel application or open new
my $Excel = Win32::OLE->GetActiveObject('Excel.Application')
|| Win32::OLE->new('Excel.Application', 'Quit');