Results 1 to 4 of 4

Check table, then copy and paste macro

Threaded View

  1. #1
    Registered User
    Join Date
    03-29-2014
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    32

    Check table, then copy and paste macro

    What I have is a table of employees names, which site they work at and a comment.

    I have a table on another sheet with the addresses of all our sites.

    What I need is a macro which will:
    >look at the active selection
    >copy their name(sheet 1, row B) & comment (sheet 1, row G)
    >look up the site they work at (sheet 1, row D)
    >copy the relevant address (sheet 3)
    >paste the name and addresses into different sheet
    >paste the comments into another sheet

    This will be used to make printable labels for letters that we post out to employees. They will need to be split up so each name and address is printed on a different label.

    The comments will be printed onto letters which will have a headers which is the same for everyone, but would be nice if they could be personalised with the comments of their managers and perhaps their names (something like "Hi John, you have been selected by your manager for your great work, please find enclosed your badge. Jeff's comments: "Comment 1""). But this part is a nice extra, the important part is the address labels.

    I don't mind if multiple macros are needed to achieve this... as always please ask if you don't understand/I haven't made things clear enough.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to Copy Pivot Table and Paste a Regular Data Table in the Same Position
    By webfeet2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-01-2013, 06:34 AM
  2. Copy paste table into new worksheet macro
    By Mr ZN in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2013, 02:41 AM
  3. Macro to copy a table and paste in another table (based on certain conditions)
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-22-2013, 01:14 PM
  4. Looping a macro to check text and then copy and paste
    By DannyJ in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2012, 10:56 AM
  5. Macro excel to copy and paste table from Word
    By Shunlee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2008, 06:52 AM

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