Forum Discussion

FaizKhan's avatar
FaizKhan
Copper Contributor
Aug 09, 2023

Excel file opens with 2 different headers in 2 different laptops

Hi,

 

I am a RPA Developer and in one of the scenarios my bot is opening an Excel file with name in title bar as  MeterReadingCorrectionMaster_1 - Excel and similar file opened by my colleague has proper title bar as MeterReadingCorrectionMaster_1.xlsx. 

 

Due to this my bot gives below error and stops , while the same bot executes successfully on my colleague's laptop.  Kindly help me on this. !!!!!!!!!!!!!!!!!!!!!!!

 

1 Reply

  • FaizKhan 

    By default, Windows does not display the file extension of "known" file types. In File Explorer, Windows can be set to display those extensions. This is a user-level setting, not specific to Excel.

    If possible, it's better to rely on the workbook name than on the caption of its window.

Resources