Hello,
I have to upload different Excel-files in AS400.
I can not use the Excel add-in to transfer data to AS400.
I have only a Client Acess option to connect to AS400( V5R3).
How can i create a VBA-macro that :
1- open an xls-file on the C-drive
2- make a connection to AS400 (prompting for UserId + Password)
3- if file on AS400 not exists, create the PF based on the Xls-file
If file on AS400 exists, replace the content of it
4- transfer the content of the xls-file to the PF on AS400
Can someone point me out how to do this ?
Thanks for any reply.
I have to upload different Excel-files in AS400.
I can not use the Excel add-in to transfer data to AS400.
I have only a Client Acess option to connect to AS400( V5R3).
How can i create a VBA-macro that :
1- open an xls-file on the C-drive
2- make a connection to AS400 (prompting for UserId + Password)
3- if file on AS400 not exists, create the PF based on the Xls-file
If file on AS400 exists, replace the content of it
4- transfer the content of the xls-file to the PF on AS400
Can someone point me out how to do this ?
Thanks for any reply.
Comment