Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by laks143

  1. laks143

    Add in for autECLMacro "[edit-copy]" in Excel VBA

    hi I am trying to Copy Mainframe screen and paste it in to Word document.I am getting an error like autECLMacro Sub or Function not defined. Here is my code Dim word Dim autECLSession, autECLPS, autECLOIA Set autECLSession = CreateObject("PCOMM.autECLSession") Set autECLPS =...
  2. laks143

    Getting Syntax error in opening Excel file.

    Hi I am trying to open an excel through Excel VBA. I am getting Sytax error at sheet.workbooks.open "C:\Documents and Settings\"&sapid&"\Desktop\mysheet.xls" ,true,false Here is my code Dim sheet Dim sapid sapid = InputBox("Enter your SAP ID :") Set sheet =...
  3. laks143

    how to open mainframe session in VBA

    Hi Mark , Set WSHShell = CreateObject("Wscript.Shell") pathToDesktop = WSHShell.SpecialFolders("C:\Documents and Settings\1055214\Desktop") WSHShell.Run (pathToDesktop & "PCSWS.exe") the code that you gave is working fine I have given the ip address in the link parameters and i...
  4. laks143

    how to open mainframe session in VBA

    Hi Mark , Set WSHShell = CreateObject("Wscript.Shell") pathToDesktop = WSHShell.SpecialFolders("C:\Documents and Settings\1055214\Desktop") WSHShell.Run (pathToDesktop & "PCSWS.exe") the code that you gave is working fine I have given the ip address in the link parameters and i...
  5. laks143

    how to open mainframe session in VBA

    I want to open mainframe session through VBA.Can any one tell me how to do this. PCSWS.EXE is placed on Desktop. Thanks In Advance !!! Lakshmi.
  6. laks143

    need to paste an image in clipboard in to word

    hi i am trying to paste a screen shot which is in clipboard in to a word set word= CreateObject("Word.Application") Word.Visible = TRUE Word.Documents.add() word.document.parentwindow.clipboard.getimage() word.Selection.Paste but the above code is pasting the...
  7. laks143

    geting error in GetObject function

    Hi i am trying to read & copying the content of an excel which is already opened to another excel i am getting 'Activex component cannot create object' error messge. please correct the following code. Dim sheet Dim sheet1 Set sheet = CreateObject("excel.application") sheet.Visible =...
  8. laks143

    how can i read already opened excel in vba

    Hi i want to read the excel which is already opened in VBA.can any one help me in this...
  9. laks143

    how can i export a dataset in mainframe to excel in REXX

    Hi, i want to export a PS in to EXcel in rexx.Can any one help me in this.. Thanks in Advance!!!
  10. laks143

    how can i get data from mainframe to excel through vbscript

    hi how can i get data from mainframe dataset to excel through vbscript
  11. laks143

    how can we invoke private events from outside.

    I am trying to call private events . sheet.Worksheets(1).CommandButton1_Click this macro tool is placed in share ...and no one can edit this.the events in the tool are private ..i am not able to call.how can i call this events without changing them from private to public. thanks in Advance !!!
  12. laks143

    How to run the excel macro tool using VB script

    additional information : vb script is written in Mainframe macro editor. i want run the excel macro which is already opened.
  13. laks143

    How to run the excel macro tool using VB script

    Hi all, I want to run a excel macro tool which is already opened by giving proper inputs like date(20/12/2008) in B4 cell and 10 digit policy number in A4 cell .. even i want to know how to press the buttons on the tool by VB script.button names are like 'run policy value' ,'database' If...
  14. laks143

    how can i wait untill the excel in share loaded completely in VBscript

    how can i make sure that the excel sheet in share is loaded completely. sheet.workbooks.open "H:\plan\pv.xls",false,true This sheet will take atleast 4to 5 minutes to open. do i need to wait the script for 5 min...how can i make it
  15. laks143

    need to open excel in readonly mode through VBscript

    thanks PHV,one more help ... how can i make sure that the sheet is loaded completely. This sheet will take atleast 4to 5 minutes to open. do i need to wait the script for 5 min...how can i make it?

Part and Inventory Search

Back
Top