Is it possible to control Lotus 1-2-3 from within Excel?
Is it possible to control Lotus 1-2-3 from within Excel?
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?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks