Import file data from the AS/400 to the MS Excel document

My Excel is in French so perhaps the English version on the menu bar is a little different. I've translated the option reference, but I think you'll find the option good.

Instead of using the import function of Client Access directly from the emulator, you can import from Excel and you'll have the fields texts also. If you don't already have the import function on MS Excel (menu bar option data), you can add it in 4 steps.

1. Note the path to Client Access
For instance = d:Program FilesIBMClient Access

2. Run "regedit"

3. Under regedit find the key "Microsoft Excel" you'll find several, but we must be interested in the keys with the final path of "ExcelMicrosoft Excel".

4. For each correct key, create a new string value "OPEN" update the value by : /R " Sharedcwbtfxla.xll" replacing by its value (see point 1).

You can now import data from the AS/400.


This was first published in April 2001

Dig deeper on RPG iSeries programming

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close