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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / VBScript for Datatable...
Power Automate
Unanswered

VBScript for Datatable Manipulation

(0) ShareShare
ReportReport
Posted on by

Hello, 

Is there a way to create and manipulate a datatable using the "Run VBScript" action in Power Automate Desktop? It seems like the code entered in the "Run VBScript" action can't compile simple datatable manipulation.

 

If there is a way to do it through that code stage, how would I call something similar to this and return it in a datatable variable in Power Automate Desktop:

 

Dim Table1 As New DataTable()

Table1.Columns.Add("Column1", GetType(System.String))
Table1.Columns.Add("Column2", GetType(System.Int32))
Table1.Rows.Add("ABC", 1)
Table1.Rows.Add("DEF", 2)

 

Finally, can I call other libraries and namespaces through this action?

 

Thank you!

 

 

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard