+ Reply to Thread
Results 1 to 4 of 4

Excel VBA conversion OpenOffice Basic

  1. #1
    Registered User
    Join Date
    06-07-2011
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    7

    Excel VBA conversion OpenOffice Basic

    Hi,

    Is anyone familiar with OO vB language? I need the following code snippet converted to work with a backdated OO that dosen't yet have VBA support:

    Public Function FindSeries(TRange As Range, MatchWith As String)
    dim i as long
    i= 1
    For Each cell In TRange
    If cell.Value = MatchWith Then
    x = x & i & ") " & cell.Offset(0, 1).Value & vbNewLine
    i=i+1
    End If
    Next cell

    FindSeries = Left(x, (Len(x) - 2))

    End Function

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Excel VBA conversion OpenOffice Basic

    Hi the.white.hole

    best to post in a OpenOffice forum, I'm sure there will be a few.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    06-07-2011
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Excel VBA conversion OpenOffice Basic

    yup, posted there too. but apparently most people whom 'speak' Oo basic dont understand vba to begin with :/

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Excel VBA conversion OpenOffice Basic

    I've looked at OpenOffice vb & I wouldn't bother.

    Seems like you need 10 lines to 1 vba
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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