Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow unbale to get Table in Excel File

(0) ShareShare
ReportReport
Posted on by

Hi 

I have a weird situation.  First let me explain what I am doing. We have a Deskktop Application, we generate data from here. Data is exported in an Excel File. User simply press CTRL+T and convert data to a Excel Table. Then this file is uploaded as a list attachment. Then later a flow is called from Power Apps which uses this file from list attachment and created new items in another sharepoint list for each row in excel file. So far so good. This was running perfectly since last 1 year.

 

No we need to add 4 additional column in Source file, I created a VBA code for that and 4 fields are added with data validation for dropdowns.

a line of code converts data to a Table so that user need not to press CTRL+T and data can be uploaded on sharepoint

VBA code to perform this task is given below:

ActiveSheet.ListObjects.Add(xlSrcRange, Range(myRange), , xlYes).Name = _
 "TblATRMSUploader"
 Range("TblATRMSUploader[#All]").Select

   Now file generated from VBA code is not going through my flow.

I have action to get all Tables in files. flow keep trying and ultimately it fails

 

If I create table manually for same data it goes through.

if you look at Excel file generated from VBA and normal file there is no diffrence

 

I am using below code to save this file

ARMS_uploader.SaveAs ThisWorkbook.Path & "\ARMS_uploader_" & SourceFileName, FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
 Range("A1").Select


 Any idea or solution to resolve it

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow