Results 1 to 2 of 2

Thread: how do i delete a nr of sentences and sort the lines in a .doc

  1. #1

    Thread Starter
    Addicted Member Icheb's Avatar
    Join Date
    Jul 2001
    Location
    The Netherlands
    Posts
    232

    how do i delete a nr of sentences and sort the lines in a .doc

    I need to write a app that can do the following :
    * It needs to delete a large number of sentences and delete empy space. (the doc is too large to do it manually with search)
    Does anyone know how to do that in VB ?

    * Then after the thing above is done it's something like a simple DB (without table) but i need to sort is by name (first letter every line), how do i do that ?

    Icheb
    The main VB routine in Windows XP (The don't admit it, they wrote it in VB)

    [vbcode]
    Public Sub Windows_Load()
    a = 1
    b = 2
    if not a + b = 2 then
    goto crash
    end if

    goto crash

    End Sub
    [/vbcode]

  2. #2
    Fanatic Member Geespot's Avatar
    Join Date
    Oct 2001
    Location
    Birmingham, UK
    Posts
    577
    Record a Macro of you doing it manually and u will be able to see how its done.

    you will then need a sorting algortihm, bubble sort is the easiest i reckon.

Posting Permissions

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



Click Here to Expand Forum to Full Width