Results 1 to 9 of 9

Need help with VBA code to copy cells for certain values onto new sheet as headings

Threaded View

ralphiecifaretto Need help with VBA code to... 05-16-2023, 09:17 AM
Pepe Le Mokko Re: Need help with VBA code... 05-16-2023, 09:19 AM
ralphiecifaretto Re: Need help with VBA code... 05-16-2023, 09:33 AM
TMS Re: Need help with VBA code... 05-16-2023, 09:23 AM
TMS Re: Need help with VBA code... 05-16-2023, 09:42 AM
ralphiecifaretto Re: Need help with VBA code... 05-16-2023, 09:55 AM
TMS Re: Need help with VBA code... 05-16-2023, 09:58 AM
Marc L Hi, try this ! 05-16-2023, 10:00 AM
ralphiecifaretto Re: Hi, try this ! 05-16-2023, 10:33 AM
  1. #1
    Registered User
    Join Date
    05-16-2023
    Location
    Nowhere
    MS-Off Ver
    Microsoft 365 Apps for Enterprise
    Posts
    4

    Need help with VBA code to copy cells for certain values onto new sheet as headings

    Hi all,

    I've been searching online but only found some youtube videos to copy rows from one sheet to another, rather than what I am trying to achieve.

    So I have a table like below:

    table.PNG

    and I want to setup a macro/code that will create headings on a new sheet using cells from column A but only if they have a "y" in column B

    so for example, using the above y's from the above table, the macro should create headings on new sheet like below for those rows with y's:

    'y' headings.PNG

    I hope that makes sense, and someone can help,

    Many thanks,

    Ralphie



    Test file attached below with table and example tab of desired result

    Book1.xlsx
    Attached Images Attached Images
    Last edited by ralphiecifaretto; 05-16-2023 at 09:55 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to Copy headings from sheet BR to BR consolidated and copy data from BR1 to BR7
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2023, 03:53 AM
  2. [SOLVED] Create Sheet and Print Headings with the help of a code
    By RAJESH SHAH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2022, 08:21 AM
  3. [SOLVED] VBA Code to copy values from range of Cells to a Sheet
    By newbie1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-15-2020, 01:22 PM
  4. VBA code - copy info from sheet 1 to sheet 2 but NOT COPY BLANK CELLS
    By Yossarian1980 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2017, 06:09 PM
  5. [SOLVED] Macro to Copy data from one sheet to another sheet if column headings match
    By harman83 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-04-2015, 02:40 AM
  6. Replies: 2
    Last Post: 11-21-2013, 10:01 AM
  7. Code to write formula in 2 cells, copy, paste values, repeat next row until end of sheet
    By Oly Steel Man in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2013, 11:13 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