web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow unbale to get Tab...
Power Automate
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

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard