How to Delete Range on Sharepoint Excel File?

I’ve tried Delete range activity, Clear range activity to delete some column range (Ex: A - E). I am not getting any error but also not getting rows deleted.

Used Find file and folder - and using that result to get particular file for Delete Range.

Thanks in advanced.

Hi @PALKUMARI_PATEL

Would you please ensure that you are providing the correct range when using the Delete Range or Clear Range activity. Double-check the range input parameter to ensure that it accurately specifies the columns you want to delete. For example, if you want to delete columns A to E, the range should be “A:E”.

Thanks!

Hi,

Please specify the correct range in clear sheet activity it will work…

Hi @PALKUMARI_PATEL
Try this

I hope it will works.
Regards,

I exactly using this “A:E” but not deleting any of the columns. I am not sure why. And I give shift : UP or Left then gives error. for the None no errors and nothing deleting.

FYI : I don’t want to shift but just tried.

Thanks but not sure if these will work on sharepoint directly ? I am trying to do it on sharepoint directly .

you will need to ensure that the user account you are using to connect to SharePoint has the appropriate permissions to delete data from the Excel file.

I have permissions. Clear range also not deleting the range. Can you help me to figure out the issue ?

@PALKUMARI_PATEL

Just to test can you try this…I guess its important to give the row numbers as well

"A1:E10"

Graph api needs A1 notation format to delete the cells…so please try to give max range to delete all the rows as needed or you can get count using read rnage and then use that to delete till end

Cheers

In my case it is deleting the range what i am providing.
can u send the ss.

Hey able to get it.
Thanks for the help.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.