Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If Day(Date) = 1 Then
' << Today is the first day of the month Else ' << Today is not the last day of the month End If Rick "pswanie" wrote in message ... jip all that worked but... i only later noticed and relized that it should be if today is the first day of the month "pswanie" wrote: sory little error on previous post i got a macro to copy and special paste data in order to get a accumalative sales data. i want to add to it so that it check if today is the last day of the month. something like if now() = lastday of month then range a1.value ="" else run mymacro end if thanx Phillip |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
=today() less one month | Excel Discussion (Misc queries) | |||
THe Last DATE of the previous month from today | Excel Worksheet Functions | |||
Today() ... Month() ... Formatt mmm | Excel Discussion (Misc queries) | |||
Days in a month as of today | Excel Worksheet Functions | |||
conditional format for if month(today) = xxx | Excel Worksheet Functions |