+ Reply to Thread
Results 1 to 2 of 2

VBA copy filtered result to next column help. New to VBA

  1. #1
    Registered User
    Join Date
    08-10-2013
    Location
    Seattle
    MS-Off Ver
    Excel 2013
    Posts
    2

    VBA copy filtered result to next column help. New to VBA

    Hi, I need a macro that allows me to filter on any blanks and ‘0’ on column G, and then copy whatever data [there can be none, or blank rows in between] on column F to column G for each row that contains blanks or ‘0’. I am new to Macro and programming and here are what I have so far:

    Please Login or Register  to view this content.
    The problem I believe I am running into is that if there are spaces in column F or G; this macro is does not work.
    Please help.

    Moderators note: code tags added for you - this time
    Last edited by FDibbins; 08-11-2013 at 01:05 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: VBA copy filtered result to next column help. New to VBA

    Hi and welcome to the forum

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Copy Multiple filtered data to same column
    By flashdisk in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-04-2013, 07:05 AM
  2. Replies: 3
    Last Post: 08-28-2012, 10:09 AM
  3. Replies: 4
    Last Post: 08-16-2012, 06:20 PM
  4. [SOLVED] Copy Filtered column
    By hemants in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-20-2010, 10:09 AM
  5. Display first result from filtered column
    By kdrysdale in forum Excel General
    Replies: 8
    Last Post: 05-12-2009, 11:01 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