Results 1 to 10 of 10

Macro to copy and paste special values for column data and filter column data

Threaded View

  1. #1
    Registered User
    Join Date
    01-29-2011
    Location
    Upland, California
    MS-Off Ver
    Office 365
    Posts
    32

    Macro to copy and paste special values for column data and filter column data

    Hello everyone,

    I am using Excel 2010:

    Update: I have, through much trial and error figured out how to resolve all of my issues below except for how to create a macro to filter column data. In attempting to record the macro to filter the column, I keep receiving the error message as follows: "Too many line continuations". Can anyone help with this?

    My issue is that I have the attached spreadsheet where a tab "DISTRIBUTE" contains data that is pulled from other tabs within the workbook by means of VLOOKUP. There are 2000 rows of Vlookup formulas to pull data.

    I'm trying to create a macro that will manipulate column data within the "DISTRIBUTE" tab as follows:

    1.) Copy concatenated phone numbers, ex:0123456789, from column "P" (the formulas are active) and paste/special value them into column "Q". Then format the phone numbers, ex: (012) 345-6789.

    2.) Filter out column "A" data, "0" and "(Blanks)"

    3.) Filter out column "B" data, anything that is NOT "0" and "(Blanks)"

    4.) Sort the entire worksheet by column "J", ascending, and hide columns, "B", "G", "J", "N", "O", "P". - This I have been able to do successfully as a separate macro.

    I have tried solutions for other posters from this site as well as the web, all of which have not worked for my particular situation.

    I have tried both recording and writing the macro but neither have worked for me.

    My goal is to create a single macro that when launched will accomplish all of the above. Is this even possible?

    Thank you,

    any help would be greatly appreciated!
    Attached Files Attached Files
    Last edited by ascottbag; 03-10-2012 at 02:18 PM.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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