HZNM.COM
welcome to my space
X
Search:  
 HOME   Macro to delete unwanted spaces at beginning of line
Macro to delete unwanted spaces at beginning of line
Published by: mike 2009-01-08
Welcome to:hznm.com

  • WinEdt News.txt Last modified on Tuesday, April 29, 2008 16:19 ::
    Apr 29, 2008 New macro to remove extra/ redundant spaces from the command line (except inside double-quotes): TrimCommandLine("Command", Register: 0..9);
    http://www.winedt.com/work/news56.txt
    HOME
    I have a long document which has unwanted spaces (1, or 2 spaces, and sometimes more) at the start of each line. At present I am undertaking the laborious job of deleting them one by one.
    Making a macro - WoWWiki - Your guide to the World of Warcraft::
    For example, a tank could remove an unwanted buff in a macro with the following command: .. e.g. to resurrect or loot them, then delete those lines).
    http://www.wowwiki.com/Making_a_macro
    HOME
    The Joy of TEX: A Gourmet Guide to Typesetting with the AMS-TEX - Google Books Result::
    href=http://books.google.com/books?id=UgxjqoQgUncC&pg=PA7&lpg=PA7&dq=Macro+to+delete+unwanted+spaces+at+beginning+of+line&source=web&ots=yVFHsujKla&sig=4egLbs8GDMQUoNhOwHN-_JYygoY&hl=en&sa=X&oi=book_result&resnum=7&ct=result class=l onmousedown=return clk(this.href,,,res,17,)>The Joy of TEX: A Gourmet Guide to Typesetting with the AMS-TEX - Google Books Resultby Michael Spivak - 1990 - Computers - 309 pagesThe (carriage-return) at the end of a line also tells TgX to insert a space, and T^X then ignores any extra spaces that occur at the beginning of the next
    http://books.google.com/books?id=UgxjqoQgUncC&pg=PA7&lpg=PA7&dq=Macro+to+delete+unwanted+spaces+at+beginning+of+line&source=web&ots=yVFHsujKla&sig=4egLbs8GDMQUoNhOwHN-_JYygoY&hl=en&sa=X&oi=book_result&resnum=7&ct=result
    HOME

    Is it possible to use a macro to do this (i.e. remove all blank spaces at the beginning of each line to ensure the text starts at the left margin, and then go to the next line and repeat this process until the end of the document - while not deleting complete blank lines between paragraphs)?

    I have not used macros in Word (although I have in Excel) - so if someone does compile one, I would welcome a few words on how I attach it and start in running.
    Hispania [Publicaciones periódicas]. Volume 73, Number 3 ::
    2. there must be no blank lines in the body of the text; some macros that are . If unwanted spaces build up, just delete them manually, then recall the
    http://www.cervantesvirtual.com/servlet/SirveObras/13516143214240163754491/p0000030.htm
    HOME
    Re: Formatting fields within a word document using macros::
    What I'd like to know is, is it possible using macros To avoid the unwanted space we can also insert the line feed along with the field.
    http://www.tech-archive.net/Archive/Word/microsoft.public.word.docmanagement/2008-10/msg01424.html
    HOME

    Many thanks,
    Les K.


  • Cool beans, Les. :)


  • OMG....

    You don't need a macro.
    Try this (save your doc to a new name first).

    Ctrl+H
    In the find what, type: ^p followed by a space
    In the replace with, type: ^p (all by itself)
    Hit replace all.
    You may need to hit replace all several times until zero replacements are made.


  • Anne,
    That worked perfectly - thanks a lot!
    Les K.





  • How much does getting a small tattoo on your hip/stomach hurt?
    Do anyone else have an itchy anus? ?

    You are looking at:hznm.com's Macro to delete unwanted spaces at beginning of line, click hznm.com to home
  • is it possible to use a 39 windows 39 printer under dos
  • newsgroup downloads
  • sabatical year in toronto for family from uk
  • economics for the general reader
  • american dentists
  • telecommunications
  • why are computers getting faster and cheaper
  • hard drive system requirements
  • micro vs macro
  • macroeconomics a few brief questions
  • fixing the fan on a sony vaio pcg f801a
  • macro equilibrium
  • ghandi 39 s power
  •  
  • hard drive replacement of toshiba laptop
  • class action suit for faulty st jude 39 s mechanical valve
  • data on lasers in cd writers
  • is curve
  • what specifically is my best pc backup protection raid disk image other
  • how do i install an aftermarket cd player in to my 1991 chevy
  • first bios overclockable abit board
  • looking for distance learning graduate education in mathematics
  • audio of reagan 39 s star wars speech
  • captain morgan of captain morgan 39 s rum fame
  • use 39 pic win95 fax printer 39 located on win98 from win xp
  • finding technical references and register layout info for ethernet cards
  • how do i register a it italian internet domin name from the uk
  • adobe graphic files
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 hznm.com        Site made:CFZ