+ Reply to Thread
Results 1 to 7 of 7

Copy and paste data in all workshhet

  1. #1
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    398

    Copy and paste data in all workshhet

    Hi,

    I have workbook with 20 or more worksheet with master sheet

    I have data in my master sheet range "F2:H150".

    I want copy that data and paste into all worksheet in same range "F2:H150".

    Thanks
    My English is very poor, so please be patient >_<"

    Thanks & Regards.
    hkbhansali

  2. #2
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Copy and paste data in all workshhet

    I think this code should work.

    Please Login or Register  to view this content.
    Last edited by D13L; 02-09-2021 at 06:38 AM. Reason: Forum Rule #2

  3. #3
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    398

    Re: Copy and paste data in all workshhet

    Hi D13L,
    Works perfect.

    Thanks for help..

  4. #4
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    398

    Re: Copy and paste data in all workshhet

    Hi D13l

    I have reopen post.

    in above code after paste data can I Deselect the all work sheets and return to Master Sheet?

    (After copying and pasting a cell (or cells) the original cell that I copied remains selected (with the dotted lines around it)

  5. #5
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Copy and paste data in all workshhet

    Yes just add "Sheets("MasterSheet").Activate" just before end sub.

    here is the modified code:
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Copy and paste data in all workshhet

    Sorry I read your post too fast and didn't realize that you want to deselect on every sheet.

    Here is the updated code:
    Please Login or Register  to view this content.
    Last edited by D13L; 02-09-2021 at 07:50 AM. Reason: Altered code

  7. #7
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    398

    Re: Copy and paste data in all workshhet

    Hi D13L

    Yes it's works fine....

    Thanks

+ 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. Copy and paste range that contains data & copy and paste, if cell contains data
    By Butcher1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2020, 01:48 AM
  2. Replies: 1
    Last Post: 08-21-2020, 10:47 AM
  3. Copy last row from each worksheet to a summary workshhet
    By loneman in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-11-2014, 08:02 PM
  4. Copy Paste Row from one workshhet to Another
    By ryan007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2013, 11:15 AM
  5. Enter data, copy formulas, copy values, paste data, delete data
    By alf40 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2013, 07:23 PM
  6. Replies: 1
    Last Post: 01-16-2013, 05:36 AM
  7. How to paste to another workshhet
    By Galia in forum Excel General
    Replies: 6
    Last Post: 12-20-2012, 08:50 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