+ Reply to Thread
Results 1 to 6 of 6

Help with Macro (VBA) copy range if..

  1. #1
    Registered User
    Join Date
    12-03-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Help with Macro (VBA) copy range if..

    Dear members,

    say i have a worksheet named "sheet1" and a worksheet named "sheet2".

    In sheet 1 i have a buch of data, e.g it looks something like this:

    1 TRUE
    2 FALSE
    3 FALSE
    4 TRUE
    5 FALSE
    6 FALSE

    whats the macro code for it to only copy the "TRUE" number to "sheet2"? so it will only copy 1 & 4 to sheet2, thanks in advance

  2. #2
    Registered User
    Join Date
    12-03-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Help with Macro (VBA) copy range if..

    i basically only want it to copy the number if it's true if its false dont copy.

  3. #3
    Registered User
    Join Date
    12-03-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Help with Macro (VBA) copy range if..

    Bump, still need help :/

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Help with Macro (VBA) copy range if..

    Umair.

    Bumping your post after 14 minutes is not acceptable.

    PM'ing members to look at your posts is not acceptable.


    Regards your question - check out either Auto Filter / Advanced Filtering... if you need a Macro use the Recorder to record your Filtering actions.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Help with Macro (VBA) copy range if..

    And in addition...

    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!


    Please read the Forum Rules before posting any further.

  6. #6
    Registered User
    Join Date
    12-03-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Help with Macro (VBA) copy range if..

    Quote Originally Posted by DonkeyOte View Post
    Umair.

    Bumping your post after 14 minutes is not acceptable.

    PM'ing members to look at your posts is not acceptable.


    Regards your question - check out either Auto Filter / Advanced Filtering... if you need a Macro use the Recorder to record your Filtering actions.

    Sorry about that, by any chance can you explain how i can use auto filter or advanced filtering, this is actually for a school project and it needs to have VB code resolved around it, isnt there like a certain code i can use for the macro?
    i know it may sound dumb, but i never use excel etc, its for a school project so im new to all of this :/
    Thanks and sorry
    Last edited by Umair Ikram; 12-03-2009 at 08:31 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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