+ Reply to Thread
Results 1 to 8 of 8

VB Micro, fill cells with color based on percentage

  1. #1
    Registered User
    Join Date
    10-24-2016
    Location
    saudi arabia
    MS-Off Ver
    2016
    Posts
    37

    VB Micro, fill cells with color based on percentage

    I am working on an excel sheet, this sheet contains a list of drawings for a building, which contains 24 floors, each floor has a set of drawings that differs from other floors, which contains of course many systems, well I will concentrate here on the Electrical part.

    drawings lists reside in column #3 (C- Column), 1st approval code reside in column #12 (column L), second approval code resides in Column #18 (Column R) and third approval code reside in column #24 (column X). on the next sheet, Completion_Graph, there is a table, shows the floors along with the number of associated drawings which belong to it. also, there is a schematic showing the distribution of the floors and how they will look like at the end.

    The Needed: I need a micro, doing a collection of all updated sheets and reflecting it in the master sheet named schedule of submittals with approval codes and dates.

    2- fill the cells associated with the floor with green as progress goes, I mean if for example basement 04 has 84 drawings, 32 were approved, completion percentage is 38% and because the floor consists of 12 cells as you will see in the attachment, so 38% x 12 = 4.57 cells, and those 4.57 cells need to be filled with green.
    3- convert all sheets into one pdf and send an email containing all sheets in pdf and xlxs file only not xlsm one, dated by today's date

    Appreciate all hints, guidelines you may offer, I am definitely positive you will be a great help for me
    Last edited by EnG_TeLeCoMm; 12-21-2021 at 05:30 AM.

  2. #2
    Registered User
    Join Date
    10-24-2016
    Location
    saudi arabia
    MS-Off Ver
    2016
    Posts
    37

    Re: VB Micro ... New Idea!

    please use this link to download the workbook

    https://we.tl/t-qiQNiOXqDn

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,621

    Re: VB Micro ... New Idea!

    Post the sheet on the board please. Thanks

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,006

    Re: VB Micro ... New Idea!

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    10-24-2016
    Location
    saudi arabia
    MS-Off Ver
    2016
    Posts
    37

    Re: VB Micro ... New Idea!

    Well, Thanks AliGW for passing by...appreciate it.

    I did the best I could, but I think my requirements are clear and list them into 1 2 3 points.

    would you mind looking into my request? I am lost

    I managed to have some micro for pdf conversions, send email, but you knew, I am new in vba, and I have difficulties matching the variables.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: VB Micro, fill cells with color based on percentage

    Hi,

    The first thing we need is sight of the workbook, or at least a representative example.

    The colouring can probably be achieved by using conditional formats.
    Creating one pdf and xlsx file for all sheets will probably need a macro to copy all sheets into a single temporary sheet.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  7. #7
    Registered User
    Join Date
    10-24-2016
    Location
    saudi arabia
    MS-Off Ver
    2016
    Posts
    37

    Re: VB Micro, fill cells with color based on percentage

    can you please download the workbook, and I am sure what I meant to say.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,006

    Re: VB Micro, fill cells with color based on percentage

    You have been asked to upload the workbook to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    Many members are reluctant to follow external links.

+ 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. VBA, Micro don't know
    By DANNYJR321 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2020, 07:20 AM
  2. Need Micro Coding
    By sharma4845 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-22-2014, 05:53 AM
  3. Please help me with micro do this
    By jamalmail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2013, 06:10 PM
  4. Excel Micro
    By ahirrao in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-02-2011, 07:26 AM
  5. Micro urgent
    By OC_KAY in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2010, 04:57 AM
  6. Micro
    By roheel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-26-2005, 07:06 AM
  7. Micro
    By djmimi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-09-2005, 02:06 PM

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