-------------------------------------------- OLE exception from "Microsoft Office Excel" 'SLOC_Count_C_Sharp_Macro' could not be found. Check the spelling of the file name, and verify the file location is correct. Win32::OLE<0.1707> error 0x800a03ec in METHOD/PROPERTYGET "Run" at test.txt line 27 -------------------------------------------- <<< Code Snippet >>> use Cwd; use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Excel'; $Win32::OLE::Warn = 3; ##my $myPersonalMacros = "D:\\Profiles\\P56739\\Application Data\\Microsoft\\Excel\\XLSTART\\Personal.xls"; my $metricsFile = "D:\\Profiles\\P65380\\Deskto\\myMetricsFile.csv"; my $Excel = Win32::OLE->new('Excel.Application') or die "\n\nOops, cannot start Excel\n";; my $Book = $Excel->Workbooks->Open("$metricsFile"); my $Sheet = $Book->Worksheets(1); $Sheet->Activate(); $Excel->Run("Personal.xls!SLOC_Count_C_Sharp_Macro"); $Book->Close; I have everything under the sun to get this to work! It makes no difference; same error returns. I.E. $Excel->Run("SLOC_Count_C_Sharp_Macro"); $Excel->Run("Personal.xls!SLOC_Count_C_Sharp_Macro"); Even... $Excel->Run("$myPersonalMacros!SLOC_Count_C_Sharp_Macro");