Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You call the Add_Appointment twice in this portion:
Call Add_Appointment c.Offset(0, 1).Value = "done" Call Add_Appointment Dan Wood wrote: Thanks for your help with this. I have set the code as follows:- Sub RunIf() For Each c In Range("C3:C14") If c.Value = "A/L" Then If c.Offset(0, 1).Value = "done" Then 'skip it' Else 'do it' Call Add_Appointment c.Offset(0, 1).Value = "done" Call Add_Appointment End If End If Next End Sub This seems to work, but does put duplicates on the calender.Is there a way to stop this? Also how can i set the code so it doesn't set reminders? -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
novice requires help with vlook up | Excel Discussion (Misc queries) | |||
"AutoPrint" type macro requires tweaking | Excel Discussion (Misc queries) | |||
Creating new series requires div cell val by itself . How to do t. | Excel Discussion (Misc queries) | |||
Hiding Personal.xls Requires Exit Twice | Excel Worksheet Functions | |||
question requires answer | Excel Worksheet Functions |