I'm working on editing a private subroutine and have run into some trouble. What I would like to do is edit the auto populated date which is written into a .dot file. I thought I had found the location in the code where I needed to edit this but when I make the change I don't get a new result, that is the document that is created maintains the same date (every 4 weeks) rather than updating to the new date (every 2 weeks). This is the code I think I need to edit:
stBookmarks = stBookmarks & "NextContact=" & Format(DateAdd("ww", 4, Date), "mmmm d, yyyy") & ";"
I changed the 4 here to a 2 but that didn't solve the problem. What am I missing? Does this need to be edited somewhere other than the VBA for the particular form I'm working in?
Thanks!
stBookmarks = stBookmarks & "NextContact=" & Format(DateAdd("ww", 4, Date), "mmmm d, yyyy") & ";"
I changed the 4 here to a 2 but that didn't solve the problem. What am I missing? Does this need to be edited somewhere other than the VBA for the particular form I'm working in?
Thanks!