Menu

Increase number with macro

2007-04-16
2012-11-13
  • Nobody/Anonymous

    I have a large file with postal codes for my country.
    Now I need to put numbers in front of every line to import it to MySQL.
    But there's almost 1200 lines and I was wondering if there is a way to make a macro increase line number on every new line?

     
    • Greg Bullock

      Greg Bullock - 2007-04-18

      Try TextFX: TextFX Tools: Insert Line Numbers.

      You could also do it with a set of macros, but TextFX, possibly with a search and replace to remove leading 0's, will be much faster for this,

      Regards.
      Greg