# Fill from Excel

Source: https://wndsoftware.com/fill-from-excel

Drop a spreadsheet on an entry screen. WND Terminal types every row, notes what the host said about each one, and stops at the first error.

Included in every plan. [See pricing](https://wndsoftware.com/pricing)

3270 and 5250
Windows
Mac
Browser
.xlsx .xls .ods .csv
Fill from Excel is a WND Terminal feature that types every row of a spreadsheet (.xlsx, .xls, .ods or .csv) into a mainframe or IBM i entry screen, such as a CICS transaction, an ISPF panel or an IBM i program. You match the columns to the screen’s fields once, check a dry run, and run it. Each row’s result goes into a copy of your spreadsheet.

The problem

We get a spreadsheet of 300 new accounts from the business on Monday. Someone types them in, one screen at a time, for two days. A typo on row 137 doesn’t show up until someone audits it.

IT says a batch load is a project. It’s a spreadsheet and a screen we already use.


## Check the sheet before it touches the host.

A 16-second visual walkthrough: map a fictional spreadsheet, dry run, then review a stopped run and its separate results file.





[Watch the MP4](https://wndsoftware.com/media/features/fill.mp4) or read the walkthrough below.

[MP4 version](https://wndsoftware.com/media/features/fill.mp4)
· Edited from genuine product screens with fictional data.
[Set up Fill from Excel →](https://wndsoftware.com/fill-from-excel#how)

### Read the visual walkthrough

- Map the sheet’s columns to CUSTOMER NAME, ACCOUNT NUMBER, AMOUNT and START DATE.
- Dry run flags one invalid account in three rows. No host data is sent during the check.
- In the demonstrated run, two rows succeed. The local sample host refuses the invalid account at worksheet row 4, and the run stops for review.
- Stop writes a separate results workbook with Status and Result columns; the source workbook is preserved.


## How it works


### Drop the spreadsheet on the session

Or choose Fill from Excel from the command palette (Ctrl+K) or the right-click menu. WND Terminal reads the first sheet (with a sheet picker when there are more), uses the first row as column headings, and shows dates as dates.


### Match columns to fields, once

WND Terminal lists the screen’s input fields and matches each column to the field whose label has the same words, so “Acct No” finds ACCOUNT NUMBER. Change any match, set the key that sends each row, and save it as a fill to use again.


### Dry run

Nothing goes to the host. You see what would be typed into which field, and every row with a problem: a value too long for its field, letters in a numeric field, an empty required value.


### Run

For each row, WND Terminal clears and types each matched field, presses the key, reads the host’s answer and keeps it. You see row N of M and rows per minute, and can pause at any time.


### Get your results

A copy of your spreadsheet is saved next to the original, which is never changed, with two columns added: Status (OK, Error, Skipped or Not run) and Result (what the host said).


## What it does


### Works on the entry screens you have

CICS transactions, ISPF panels and IBM i programs, on mainframe (3270) and IBM i (5250). No host changes.


### Knows success from failure

It reads the host’s message line after each row. Add the text success looks like (“RECORD ADDED”) and an error looks like (“INVALID”). A locked keyboard (X PROG on a 3270), IBM i’s error line and the alarm all count as errors.


### Stops at the first error

It says which row and what the host said. Resume types that row again after you fix it, Skip row moves on, Stop ends the run.


### Results back in Excel

The results copy keeps every original column and adds Status and Result. Copy puts the rows and their results on the clipboard.


### Saved fills

Kept next to your macros and offered automatically whenever their screen appears.


### Hands off while it types

The keyboard and mouse leave the screen alone during a run. Pause to type yourself.


### IBM i fields handled

Fields that need Field Exit get it, so 5250 entry screens fill the way an operator would fill them.


### In the browser too

Pick the file with the browser’s file picker; the results copy arrives as a download.


## Under IT’s control

IT controls this feature and its audit trail. It does not send this feature’s content to WND Software; an authorized administrator can separately review and submit a bounded support report.

[What the audit log records →](https://wndsoftware.com/security#audit)
- Every fill is in the audit log:  the start (file, row count, the fill used, session and host), one line per row with its status and the host’s message, and the end with the counts.
- What was typed is never logged.  Values hidden on the screen, such as card numbers and IT’s own patterns, stay hidden.
- IT can turn it off  for everyone with one policy setting (`AllowFillFromExcel` = false). A dropped spreadsheet is then refused with a message.
- Response times count.  Keys sent by Fill from Excel are timed like typed ones, so operations sees the load in the Operations view.


## The other direction is already proven

~60,000
hours of retyping removed a year at Texas HHSC, with Copy as table
Texas HHSC got mainframe data out into Excel with real columns using WND Terminal’s Copy as table. Keying errors in QA spreadsheets fell from 4.1% to 0.3%. Fill from Excel takes the spreadsheet back in.

A QA analyst reviewing 40 cases might retype 600 values. Angela Ruiz, Director, Program Support Systems, Texas HHSC

[Read the Texas HHSC story →](https://wndsoftware.com/case-study-texas-hhsc)

### Tested against a real run

WND Software tests Fill from Excel by filling a CICS-style Customer Add transaction with 300 rows in the real app, with one bad row at row 137, and checks the stop, the skip, the results workbook and the audit log.


## Fill from Excel: questions


### What file types does Fill from Excel read?

.xlsx, .xls, .ods and .csv. It reads the first sheet by default and offers a sheet picker when there are more.


### Does it change my spreadsheet?

No. It saves a copy next to the original with two columns added, Status and Result. The original file is never changed.


### What happens when the host rejects a row?

The run stops at that row and shows what the host said. You can fix it and resume, skip the row, or stop. Every row’s outcome is in the results copy and the audit log.


### Can I check what will be typed before anything is sent?

Yes. The dry run shows exactly what would go into each field and lists every row with a problem, without sending anything to the host.


### Does it work on IBM i screens?

Yes. Fill from Excel works on mainframe (3270) and IBM i (5250) entry screens, including IBM i fields that need Field Exit.


### Can IT control or audit it?

Yes. IT can turn it off with one policy setting, and every fill writes a start event, one event per row and an end event to the audit log. What was typed is never logged.


## Works well with

[Capture all pages A 36-page host list as one Excel table Learn more →](https://wndsoftware.com/capture-all-pages)
[Modern view The same live screen as a clean form Learn more →](https://wndsoftware.com/modern-view)
[Response-time monitoring Every transaction timed where users feel it Learn more →](https://wndsoftware.com/response-time-monitoring)
