Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a piece of Code (part of several within the same module) that
mails out a spreadsheet, but I only want it to action if the value in SheetA1 = Monday (A1 will actually be =Now()). If the Value in A1 is not = Monday I just want to skip over the code and execute the remaing code. How would I do that? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If Weekday(Sheets("Sheet1").Range("A1")) = vbMonday Then
'do something End If Hth, Merjet |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Feb 14, 1:32 pm, "merjet" wrote:
If Weekday(Sheets("Sheet1").Range("A1")) = vbMonday Then 'do something End If Hth, Merjet Thanks Merjet |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Simple oversight on my part in this code I'm sure | Excel Programming | |||
VB Code Corerection Part 2!! | Excel Programming | |||
part of a code not being executed | Excel Programming | |||
Hiding Part of the VBA Code | Excel Programming |