VBA for mainframes

poojakhade

New Member
Joined
May 26, 2011
Messages
2
I am a mainframe professional,new to VBA.I am trying to develope a MACRO in VBA to copy from EXCEL and paste on mainframe online screen.I am getting the error while compiling that can't find project or library.
Below is the code I am usein.Do i need to install anything more to execure this sode?


Sub Update_RAN()
On Error GoTo ErrorHandler

'Set up interface to Emulator
Set autECLConnMgrObj = CreateObject("PCOMM.autECLConnMgr")
Set autECLOIAObj = CreateObject("PCOMM.autECLOIA")
Set autECLSessionObj = CreateObject("PCOMM.autECLSession")
Set autECLPSObj = CreateObject("PCOMM.autECLPS")
autECLOIAObj.SetConnectionByName ("A")
autECLPSObj.SetConnectionByName ("A")
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
When working with objects that are not in the Excel library, you have to reference the .dll, .ocx, .exe, .tlb, .olb (and other extensions) file that contains references to those objects that Excel can use.

In the VBA editor, select Tools | References and either find the appropriate file in the list and put a check next to it or use the Browse... button to find it.

Excellent discussion here:
http://www.cpearson.com/excel/missingreferences.aspx
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

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