+ Reply to Thread
Results 1 to 8 of 8

VBA Macro Button copy certain range cells on a specific value to next sheet

  1. #1
    Registered User
    Join Date
    08-13-2015
    Location
    Nuth, netherlands
    MS-Off Ver
    Office 2010
    Posts
    4

    Question VBA Macro Button copy certain range cells on a specific value to next sheet

    Hello,

    I have a little problem with my Worksheet. The macro button that i want needs to do this:

    If in the first sheet in column G the word "fixe" applies. It needs to copy the cells A to E from that row.
    And then copy only the values to the second sheet by starting in A4.
    Every row with the word "fixe" in column G needs to be copied to that sheet.

    Can you help me out? i'm new to the forum.


    Verstreken looptijd FIXE.xlsm
    Last edited by Jeffrey_ghost; 08-14-2015 at 10:54 AM.

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2505
    Posts
    2,792

    Re: VBA Macro Button copy certain range cells on a specific value to next sheet

    Hi Jeffrey,
    Try this out and see how it works.
    Good Luck.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-13-2015
    Location
    Nuth, netherlands
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: VBA Macro Button copy certain range cells on a specific value to next sheet

    Hi Skywriter,

    Thanks for your good help. The only problem i have now is that from ws1 the columns F and G must not be copied to ws2. Can you help me out?

  4. #4
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2505
    Posts
    2,792

    Re: VBA Macro Button copy certain range cells on a specific value to next sheet

    Quote Originally Posted by Jeffrey_ghost View Post
    Hi Skywriter,

    Thanks for your good help. The only problem i have now is that from ws1 the columns F and G must not be copied to ws2. Can you help me out?
    Let me know if this is what you want.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-13-2015
    Location
    Nuth, netherlands
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: VBA Macro Button copy certain range cells on a specific value to next sheet

    Hi Skywriter,

    Thanks for your good help. The only problem i have now is that from ws1 the columns F and G must not be copied to ws2. Can you help me out?

  6. #6
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2505
    Posts
    2,792

    Re: VBA Macro Button copy certain range cells on a specific value to next sheet

    Did you try the code in Post #4?
    I tested it, seems to do what you want?

  7. #7
    Registered User
    Join Date
    08-13-2015
    Location
    Nuth, netherlands
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: VBA Macro Button copy certain range cells on a specific value to next sheet

    Sorry for the double comment. The new code works! Thanks for your good help

  8. #8
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2505
    Posts
    2,792

    Re: VBA Macro Button copy certain range cells on a specific value to next sheet

    My pleasure. Thanks for the feedback and the rep. points.

    Please click the Thread Tools drop down box above your first post and choose solved.

+ 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. Button to copy specific cells to another sheet, lock button if cell has text
    By elmerg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2014, 02:10 AM
  2. Creating a copy button to copy range of cells to a different sheet
    By 5degrees in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2013, 12:21 PM
  3. Check cell Value in range and copy specific cells to another sheet
    By jmethejedi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-08-2013, 06:25 PM
  4. [SOLVED] Macro button copy specific rows from all worksheets to a summary sheet
    By cme in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-17-2013, 10:22 PM
  5. HELP! Macro to Copy specific cells from one sheet to another based on specific criteria
    By atriscritti in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-11-2012, 11:05 AM
  6. [SOLVED] Macro to copy a specific range from a hidden sheet
    By dumblonde in forum Excel General
    Replies: 7
    Last Post: 05-10-2012, 02:50 AM
  7. Non-Sheet Specific Macro to copy range of cells to next worksheet in WB
    By Petrolcb41 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-29-2010, 11:04 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