Connect Excel with Host On Demand/IBM SuperSession v310

ExcelNooberino

New Member
Joined
Jan 2, 2019
Messages
43
Office Version
  1. 2016
Platform
  1. Windows
Is there any way I can connect to a Host On Demand session with VBA?

What I mean by that is, I log on to my company's app on HOD (something like AS400 but it says IBM SuperSession) and then I enter what I believe to be the main screen of our environment. I know some of my colleagues can connect to it via a VBA function with just a simple object but they get it through a directory and since I'm running the app through HOD I can't do it in the same way:

VBA Code:
Function mySession()

mySession = "D:\xx\HOST.edp"

And then:

VBA Code:
Dim objSession As Object
Set objSession = CreateObject(mySession())

It's something like this but it doesn't work for me. Any thoughts?

I'm sorry if I'm not being clear enough, but the main point is connecting just to the screen it shows and write some data out to an Excel sheet.
 
Last edited:

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

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