+ Reply to Thread
Results 1 to 6 of 6

Macro copy from one sheet and paste values in NEXT VISIBLE SHEET & then ACTIVATE IT.

  1. #1
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    584

    Macro copy from one sheet and paste values in NEXT VISIBLE SHEET & then ACTIVATE IT.

    Dear Friends,

    I need to copy values from current sheet and paste values in the NEXT VISIBLE SHEET. Further, NEXT VISIBLE SHEET to be made active.

    Related points are:
    There are some sheets kept hidden.
    Therefore, the values to be pasted ONLY in the NEXT VISIBLE SHEET.

    I have attached a sample file for your kind ref.

    Please help me to resolve.
    Attached Files Attached Files
    Good friends are hard to find, harder to leave, and impossible to forget.

    acsishere.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,056

    Re: Macro copy from one sheet and paste values in NEXT VISIBLE SHEET & then ACTIVATE IT.

    Try:
    Please Login or Register  to view this content.
    I assumed that you wanted to copy the ranges to only the first visible sheet.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    584

    Re: Macro copy from one sheet and paste values in NEXT VISIBLE SHEET & then ACTIVATE IT.

    Great! Great!! Great!!!.
    Excellent & exactly done. Thanks a lot Sir.

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,056

    Re: Macro copy from one sheet and paste values in NEXT VISIBLE SHEET & then ACTIVATE IT.

    You are very welcome.

  5. #5
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    584

    Re: Macro copy from one sheet and paste values in NEXT VISIBLE SHEET & then ACTIVATE IT.

    Sir, an additional request. The above code is working nicely.
    But, I forgot to tell you that the sheet is protected with a password "aaa".
    Therefore, once copied from Main Sheet and then it should be pasted after opening the next visible sheet using password “aaa” and paste the values in the specified cells. Then once again protect with the same password.
    Pl help me Sir.

  6. #6
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,363

    Re: Macro copy from one sheet and paste values in NEXT VISIBLE SHEET & then ACTIVATE IT.

    Try this.
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

+ 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. Replies: 0
    Last Post: 09-17-2017, 06:30 PM
  2. vba to copy a picture from a hidden sheet and paste in visible sheet?
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-30-2015, 10:21 AM
  3. [SOLVED] macro to copy paste visible cells into a newly created sheet
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-19-2015, 04:14 PM
  4. Macro to copy sheet(s) and paste as values only
    By Greed in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-05-2014, 12:32 PM
  5. [SOLVED] Copy range from one sheet and paste in another sheet on the next visible row after header
    By MaQian in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2013, 10:48 AM
  6. Copy and paste visible to different sheet
    By cabinetguy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2011, 03:04 PM
  7. [SOLVED] Copy paste visible on same sheet
    By Jay in forum Excel General
    Replies: 1
    Last Post: 09-26-2005, 12:05 PM

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