Error while creating the excel file

YT channel opertions main.zip (58.7 KB)
ERROR: Read Range: The sheet Hydrabad shopping does not exist in workbook


the excel file which is created by the main file is showing error.

Hi @Adithyeshwar_goud

Try giving the below syntax in Write Range Workbook.

DateTime.Now.ToString("yyyy-MM-dd")+".xlsx"

Regards

yes i have given the same syntax
if possible check the main file that i have given in the post

Hello @Adithyeshwar_goud
Try this
To Create the new excel file, Write reange workbook activity is enough. Dont use the Craete file activity. Remove the Create file activity. Just pass the path to Write range, It will create the excel file if it des not exist.
Remove itβ€”> image

1 Like

now an other error raised:
Read Range: The sheet Hydrabad shopping does not exist in workbook C:\Users\gouda\OneDrive\Desktop\rpazone\2024-01-13.xlsx.

it is not creating new sheet with the input name

@Adithyeshwar_goud
It means that the Sheet name is not Exist.
It seems that you Write data in different file and read data from different file.

@Adithyeshwar_goud
Its seems you just passing the Folder Path. Its mandatory to pass the file path in the Excel application scope
image