+ Reply to Thread
Results 1 to 6 of 6

word macro to change Word Arts content continously

  1. #1
    Forum Contributor
    Join Date
    07-08-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    139

    word macro to change Word Arts content continously

    hi guys,
    i had a problem to make labels for my students.I make the labels manually by typing the numbers one- by-one.is there any macro that can make the changing easily.example : it started with P001 and so on...then i want to make other labels such as M001 in the same file document.please help.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-08-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    139

    Re: word macro to change Word Arts content continously

    Anybody would help?please..

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: word macro to change Word Arts content continously

    in word goto to VBE (ALT+F11) open immediate window (CTRL+G)
    Enter the following line and press enter.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Forum Contributor
    Join Date
    07-08-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    139

    Re: word macro to change Word Arts content continously

    it won't worked when i'm changing to X or other letters.please help

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: word macro to change Word Arts content continously

    I just tried it on your document and it worked as expected.

    What happpens when you execute the command? Do you get any error message.

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: word macro to change Word Arts content continously

    The attached has the code in a macro.

    Open the document and enable macros.
    ALT+F8 to display macro dialog. Run Test macro.
    Enter required prefix
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to extract Word content control TITLES
    By lauberk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-26-2013, 04:21 PM
  2. Need Ms Word Macro to update word content
    By shabeersa in forum Word Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2013, 05:49 AM
  3. Replies: 0
    Last Post: 01-25-2013, 07:03 AM
  4. Macro to copy worksheet content row by row to Word document
    By rkh_11 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-13-2010, 06:19 AM
  5. Replies: 0
    Last Post: 01-23-2005, 03:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1