+ Reply to Thread
Results 1 to 4 of 4

Macro to show day of the today

  1. #1
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Macro to show day of the today

    Hello,

    Would you know a macro that would do the following:

    1) I need to have the cells (AS2,AS10,AS16,AS22,AS28,AS34,AS40,AS46) automatically copied based on the today day (row 4:4).
    I have attached a sample planing Where I have in the "Sheet1": on the left my current planning and on the right what I would need to get. The tab "Planning" is my current situation

    2) I would need to always have the column in grey below the "S" present in row 3:3. Please check the example attached.

    Thanks,
    Graig
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Macro to show day of the today

    Does it have to be a macro, it could be done using IF and conditional formatting?
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Re: Macro to show day of the today

    I doubt as I insert range trhought the belwo macro:
    HTML Code: 
    I also have the macro in the "planning" sheet:
    HTML Code: 

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Macro to show day of the today

    Does teh macro draw the sheet that you've attached, quickly looking i dont think it does, rows 2, 10,16 etc, could have the if formula in and conditional formatting can be applied to a sheet with no data. As long as the sheet isnt created by code, itself not the presentation, then the cond formatting will remain.

    If ive got the wrong idea, please elaborate. Its still early :o)

+ 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. Pivot table show today AND yesterday fields
    By cmb80 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-05-2014, 11:56 AM
  2. [SOLVED] Show today's date on calendar
    By Marco-Kun in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2012, 04:23 PM
  3. Show today's date if specified cell is modified
    By xavpg in forum Excel General
    Replies: 7
    Last Post: 02-28-2012, 07:16 PM
  4. Replies: 3
    Last Post: 11-19-2009, 10:00 AM
  5. Show today() average
    By albynas in forum Excel General
    Replies: 3
    Last Post: 05-27-2009, 05:12 PM

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