How to update or create an excel file using batch macro
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Lumjing
8 - Asteroid
04-28-2025
11:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi I have a column with SQL query and I am using a batch macro (where I have used dynamic input tool to run the sql query. 5 rows of sql query execution. Every time I run the workflow I want a excel file where the output of the all the sql to be update in excel file one after another. Can you please let me know how to achieve this. A sample of the input file is as below.
| SQL code |
| Select Distinct(Name) from table xyz |
| Select Distinct(Name) from table xyz |
| Select Distinct(Name) from table xyz |
| Select Distinct(Name) from table xyz |
| Select Distinct(Name) from table xyz |
Labels:
- Labels:
- Developer
1 REPLY 1
18 - Pollux
05-04-2025
02:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Whatever unique value you have in a column to separate the 5 queries can be used as your tab name in the Output Data tool - if you don't have one, create one using a RecordID tool or a Multi Row Formula tool!
