+ Reply to Thread
Results 1 to 1 of 1

Copy and paste values in WB2 to WB1 and do some actions to all worksheets in WB1

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2016
    Posts
    35

    Copy and paste values in WB2 to WB1 and do some actions to all worksheets in WB1

    Hello All,
    Hope you and your family doing well, safety is very important.
    You really, really doing great job by helping us.
    I am a beginner in VBA and I am an old member from India.
    I have something to perform via Macro, Basically, I have two workbooks, WorkBook1 and WorkBook2, WorkBook1 is main which having other macros as well, right now doing the steps something manually, kind of copy and paste work. Now i wanted to perform all manual process in one click (macro button).
    WorkBook1 is active WorkBook, the macro has to execute from here
    steps:
    1. once the button clicked in WorkBook1->config, it should copy the last available occupied cells from column c to column h from WorkBook2 -> sheet1
    2. paste it to the WorkBook1 -> existing Sheet "Data" (enable clear contents, excluding headers before pasting) in Cell A2
    3. Close WorkBook2
    4. Then copy entire values in A column in "Data" Sheet in WorkBook1 and paste it into "Outlook Data tool" sheet in "A2" cell and remove duplicates, and run the existing macro in the WorkBook1 i have (the macro to fetch outlook details against email-id) and copy A and column B(exclude header), (so we need to call the macro here in this module)
    5. Paste it to WorkBook1 -> "A2" cell in "Run" and "Sort names" sheets, and hide "Outlook Data tool" sheet
    That's it.Please let me know if my requirement is not clear. Thanks
    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. [SOLVED] VBA to Copy paste Values from 4 different worksheets
    By Keibri in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2018, 01:18 PM
  2. [SOLVED] For certain worksheets copy and paste a range as values
    By nickmax1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2014, 07:38 AM
  3. Replies: 9
    Last Post: 07-27-2013, 01:59 PM
  4. Copy Paste Values all worksheets & creating new worksheets
    By ryan2600 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2012, 11:46 AM
  5. [SOLVED] protecting cells against editing by copy/paste actions
    By grigoras victor in forum Excel General
    Replies: 0
    Last Post: 06-20-2006, 05:40 AM
  6. protecting cells against editing by copy/paste actions
    By grigoras victor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-20-2006, 05:40 AM
  7. protecting cells against editing by copy/paste actions
    By grigoras victor in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-20-2006, 05:40 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