OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Can you explain me what this Basic Code do?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
briglia23
OOo Enthusiast
OOo Enthusiast


Joined: 24 Jun 2008
Posts: 121

PostPosted: Tue Jun 30, 2009 3:02 am    Post subject: Can you explain me what this Basic Code do? Reply with quote

Code:

If WordBasic.ExistingBookmark("ImmedEsecut") Then
    WordBasic.WW7_EditGoTo Destination:="ImmedEsecut"
    If WordBasic.[LTrim$](WordBasic.[Selection$]()) = "" Then
        If WordBasic.SelType = 2 Then WordBasic.SelType = 1
        WordBasic.SelectCurSentence
        WordBasic.EditClear 2
    Else
        WordBasic.FormatNumberDefault 1
    End If
End If


and how can translate to OOo macro?

Thank you very much.
Back to top
View user's profile Send private message
rebelxt
OOo Enthusiast
OOo Enthusiast


Joined: 10 Dec 2006
Posts: 114
Location: StLouis

PostPosted: Wed Jul 01, 2009 9:47 am    Post subject: Reply with quote

It may help if you tell us what version of what software this came from.
Back to top
View user's profile Send private message
briglia23
OOo Enthusiast
OOo Enthusiast


Joined: 24 Jun 2008
Posts: 121

PostPosted: Thu Jul 02, 2009 12:06 am    Post subject: Reply with quote

Thanks for your intresting but i have already solved
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group