Link to home
Start Free TrialLog in
Avatar of jstein1
jstein1

asked on

as400 Macro to copy/paste info from excel

Hi, I need a macro for as400 which will take info from an excel spreadsheet and copy/paste the info into as400 and then go back to the spreadsheet until all the rows are processed.  (Ex, cell A1 is an account #, B1 is a date (no slashes) & C1 is text).  I'd like it to process through each row and paste the info into as400.  I have to use the sendkey command at the appropriate times between pasting some of the info.  Does anyone have anything that can help me accomplish this?
ASKER CERTIFIED SOLUTION
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

I cant remember exactly what it test, But I think, the script is first looking to the program-name on the left upper corner (or right)
that must be the name corresponding with the data you will let the macro enter.

Every error on the bottom row wil be checked and in case of errors the excel line wil be marked in red.
processed lines in green.