+ Reply to Thread
Results 1 to 6 of 6

Need Help with VBA code

  1. #1
    Registered User
    Join Date
    08-22-2022
    Location
    Cape Town, South Africa
    MS-Off Ver
    MS Office 365
    Posts
    16

    Need Help with VBA code

    Dear Forum

    I have come so far with my sheet and just need to cross the last hurdle.

    I have filtering VBA code that works perfect, except it exclude my headings.

    I need the headings PLEASE

    When I click the Command Button, I need it to display the headings with only the shift concerned.
    Attached Files Attached Files
    Last edited by Rayman_Blackz; 04-10-2023 at 02:07 AM.

  2. #2
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Need Help with VBA code

    Maybe like this:

    Please Login or Register  to view this content.
    Teach me Excel VBA

  3. #3
    Registered User
    Join Date
    08-22-2022
    Location
    Cape Town, South Africa
    MS-Off Ver
    MS Office 365
    Posts
    16

    Re: Need Help with VBA code

    Thank you for the quick response, the changing of the number 5 to number 8 is helping only partially.
    I need the all headings for every row where it appears. (When I click the command button it should give me just the "A+" under the headings where it was.)Attachment 825084

  4. #4
    Registered User
    Join Date
    08-22-2022
    Location
    Cape Town, South Africa
    MS-Off Ver
    MS Office 365
    Posts
    16

    Re: Need Help with VBA code

    I need my sheet to show my results like in the following picture.Attachment 825087

    One of my helper columns "See Me" was intended to show that row/heading if there is a "A+" in Column J.

    I trust that my explanation is ok. (English is my second language LOL)
    Last edited by Rayman_Blackz; 04-10-2023 at 06:06 AM.

  5. #5
    Forum Contributor
    Join Date
    01-25-2013
    Location
    near Philly, PA USA
    MS-Off Ver
    Excel 2019
    Posts
    178

    Re: Need Help with VBA code

    No picture shows for your Attachment 825087.
    By heading I assume you mean such as: Admin Staff, Controlroom, Mutual/Langa etc...?

  6. #6
    Forum Contributor
    Join Date
    01-25-2013
    Location
    near Philly, PA USA
    MS-Off Ver
    Excel 2019
    Posts
    178

    Re: Need Help with VBA code

    If my assumption is correct, I'd place the Heading title on a new column as the first cell in the row of each person. This way, when you run your macro, their heading shows.
    This is a simple, workable solution in my opinion.

+ 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] Code to display text & code in a combo list, but display only code when selected
    By kdestef1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2019, 06:07 PM
  2. [SOLVED] Need help with VBA code. Tons of code seperated in two, second part of code doesn't work.
    By FragaGeddon in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 11-30-2015, 11:46 AM
  3. [SOLVED] Pattern Building VBA Code - Working code, would like to use cleaner code
    By Benisato in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-10-2015, 03:05 PM
  4. [SOLVED] Excel VB code. Message pops up while code running asking question. Code must not wait.
    By Heinrich Venter in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-28-2014, 06:10 AM
  5. [SOLVED] VBA code for assigning a numeric code to text; then numeric code populates table
    By cteaster in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2014, 08:01 PM
  6. Replies: 2
    Last Post: 03-09-2013, 04:30 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