Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi All I need some help to extend some existing VBA. To indicate when the content on the sheet was last updated. I use this code : ..Range("A21").Value = "Last Updated : " & Format(Now, " dddd dd/mm/yy at hh:mm:ss") It reads , for example : Last Updated : Thursday 30/06/11 at 19:45:27 I need to extend it to include reference to shop opening and closing times. The shop is open between 8 am and 4.30 pm , and closed outside these hours. So the output of the new code would read something like : Last Updated : Thursday 30/06/11 at 19:45:27 , when the shop was closed. Or Last Updated : Thursday 30/06/11 at 11:45:27 , when the shop was open. Can someone help to extend the coding? Grateful for any advice. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How would you include an existing logo in a worksheet? | Excel Discussion (Misc queries) | |||
Formatting worksheets, existing and new, in existing workbooks | Excel Discussion (Misc queries) | |||
download existing spreadsheets into another existing spreadsheet | Excel Discussion (Misc queries) | |||
Extending Row() | Excel Worksheet Functions | |||
Can inserted rows automatically include existing worksheet formula | Excel Discussion (Misc queries) |