Hi all i want a help like i have a folder and in that i have to shoot the mail with only one attachment whose extension is excel and keep in mind that that folder will contain other file as well.
while sending mail i have to check that file is attached or not if not then again go to folder.
how to round off number in excel like if it is 25.5 to 26 or 118.2 119.
please help me with the workflow
how to round off number in excel like if it is 25.5 to 26 or 118.2 119
variable=System.IO.Directory.GetFiles(“Path of file or Folder”,“*xlsx”)
you can use this variable for your email attachments
You can take foreach loop for inside variable you will get each file
fileList = Directory.GetFiles(folderPath,“*xlsx”)
ForEach fileName in fileList
filePath = Path.GetFileName(fileName)