Extract all file names in a folder and need to write in an excel

I need to extract all file names in a folder and need to write in an excel , and also i need the total count of files in that folder

HI @JOBIN_JOSE

Check out the XAML file

19.10.2023_Forum_1.xaml (11.0 KB)

Regards
Gokul

i am a beginner could uou please help me with what you have written in that array row field ?

In the Array it will get the file name without the extension

{Path.GetFileNameWithoutExtension(CurrentFile.ToString)}

sorry for the confusion am gettin error on write range

You need to pass the Data table variable here.

Have you download and check this XAML file? @JOBIN_JOSE

1 Like

tried
image

Check this image build the workflow.

  1. Build data table → Create an variable called DtInput

Test.xaml (10.9 KB)
i have tried but it is now showing obj ref

image

image

@JOBIN_JOSE

you have not pass the output variable for build datatable activity

1 Like

yes that was the mistake

1 Like

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