+ Reply to Thread
Results 1 to 2 of 2

Automation Lotus 1-2-3 Objects

  1. #1
    jordigard
    Guest

    Automation Lotus 1-2-3 Objects

    Is it possible to control Lotus 1-2-3 from within Excel?

  2. #2
    Andy Wiggins
    Guest

    Re: Automation Lotus 1-2-3 Objects

    Here's some sample code that:
    - creates a 123 spreadsheet
    - inserts some text
    - changes the text to bold
    - saves the spreadsheet to a file in the c:\temp directory
    - tidies up

    ''
    ***************************************************************************
    '' Purpose : Create a Lotus 123 file from Excel's VBA
    '' Written : 14-Jun-1999 by Andy Wiggins - Byg Software Ltd
    ''
    Sub mRun123ProUsingVBA()
    Dim app As Object
    Set app = CreateObject("Lotus123.Workbook")

    With app
    .Parent.Visible = True

    With .ranges.Item("A:A3")
    .contents = "Demo from BygSoftware.com"
    .Font.Bold = True
    End With

    .SaveAs "c:\temp\BygSoftware.123"
    .Parent.Quit
    End With

    End Sub

    --
    Andy Wiggins FCCA
    www.BygSoftware.com
    Excel, Access and VBA Consultancy
    -

    "jordigard" <[email protected]> wrote in message
    news:[email protected]...
    > Is it possible to control Lotus 1-2-3 from within Excel?




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1