Automation object call from excel macro on windows 2008 r2 terminal server fails with run time error 429

mrfishel

New Member
Joined
Oct 23, 2018
Messages
9
Since this is my first question on Mr. Excel, I thought I would make it a doozie lol.

I am trying to convert a macro written for 32-bit Excel that feeds data into the IBM AS400 mainframe. I have read articles like the one found here which state that the issue I am having is "....a permanent restriction as IBM Personal Communications only provides 32-bit Automation objects", but I refuse to give up. There has to be some way to connect to the AS400 using 64-bit Excel and pass data through a macro without resorting to using 32-bit office. Please, somebody, show me the way. Thanks!!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
shg, that is what I am trying to not have to do. There must be some other bit of VBA that will get me around the issue that I am having.

Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Public autECLSession As Object
Public autECLPS As Object
Public autECLOIA As Object
Sub claimsNettingAuto()


'-----------------------------------------------------------------
'
'-----------------------------------------------------------------
Dim autECLPS As Object
Dim autECLConnList As Object
Dim FieldElement As Object


'-----------------------------------------------------------------
'Set up connection to AS400
'-----------------------------------------------------------------
Set autECLSession = CreateObject("pcomm.auteclsession") *********** this is where my code is erroring out
Set autECLPS = CreateObject("Pcomm.auteclps")
Set autECLOIA = CreateObject("Pcomm.autecloia")
Set autECLConnList = CreateObject("Pcomm.auteclconnlist")
 
Upvote 0
Not sure why you would disbelieve IBM's stated limitation and suggested workaround.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top