Why I use word vba range.delete to delete the word but the word come back again? RRS feed

  • 一般討論

  • I use VB6 to develop the project.

    I got a problem that I want to use word vba to delete the word.

    The code like "sentence.Range(1,2).Delete" then It will delete the sentence's fist word.

    I thouht the sentence like " This is a book!" that after I use the code will get the sentence like "This is a book!"

    The space will be delete.

    But the truth is that the space still there.

    I think I have delete success but i don't know why it come back auto.

    Is it because word's auto typography?

    How can it delete the space success that there will no space auto come back? 

    • 已變更類型 璉璉Moderator 2017年5月20日 上午 07:23 提問者未後續回覆
    2017年5月6日 下午 01:46