Skip to main content
simply more productive

The Data Specialist

Thanks to our intuitive transformation designer, you can convert data effortlessly to a variety of formats without knowing how to program. It’s not only efficient, it’s also easy to use.
Flowheater Chart

Advanced Spreadsheet Processing

  • FlowHeater-Team
  • avatar Topic Author
  • Offline
  • Admin
  • Admin
More
4 years 5 months ago #3567 by FlowHeater-Team
Advanced Spreadsheet Processing was created by FlowHeater-Team
I get excel spreadsheets with multiple tabs of the same data, there is more to the data dump that will fit in a single tab. The data format is the same, it is just a quantity issue.

Can FH be made to read across the tabs and combine multiple tabs (of Excel Spreadsheet) into a single output stream
automatically?

Regards,
Keith

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in or Create an account to join the conversation.

  • FlowHeater-Team
  • avatar Topic Author
  • Offline
  • Admin
  • Admin
More
4 years 5 months ago #3569 by FlowHeater-Team
Replied by FlowHeater-Team on topic Advanced Spreadsheet Processing
Hello Keith,

Currently the Excel Adapter doesn´t know about who many Sheets are present in the current Excel Workbook.

But with a simple PowerShell script you can perform this. The script like below runs in a loop as long the Batch Module returns with success (EXITCODE = 0). For each call a FlowHeater Parameter “SHEET” will be set with the current value of the script variable $sheet. This will be increment by 1 before calling the Batch Module into the loop. In the Excel Adapter on the READ side you have just to use this FlowHeater Parameter as the Worksheet name, see screenshot below. In case the Excel Adapter doesn´t found a Worksheet name like “1”, “2”, the Excel Adapter will try to get the first Sheet (=1), Second Sheet (=2) and so on.

Please find attached a short example.





PowerShell script for advanced Excel Spreadsheet processing
Code:
# FlowHeater Advanced Excel Spreadsheet processing [string]$FHBATCH = "C:\Program Files\FlowHeater V4\BIN\FHBatch.exe" [int]$sheet = 0 do {     $sheet = $sheet + 1     # Execute the FlowHeater Definition with the dynamic sheet parameter     & $FHBATCH /ReadFileName input.xlsx /SetParameter SHEET=$sheet advanced-excel-processing.fhd | Out-Null } while ($LASTEXITCODE -eq 0)

File Attachment:

File Name: advanced-e...sing.zip
File Size:9 KB

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in or Create an account to join the conversation.

Time to create page: 0.265 seconds
FlowHeater Logo

FlowHeater - The Data Specialist

Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.

Legal information

Support & Contact

Contact

Phone:
0951 / 9933 9792

eMail:
This email address is being protected from spambots. You need JavaScript enabled to view it.


Copyright © 2009-2024 by FlowHeater GmbH. All rights reserved.