The calendar button worked until I added the following lines of code to attempt to repeat entries:
Can you please help me modify the following to work. I'll need the user to be able to add the multiple dates to the button code. Thanks in advance. this is urgent if you can help.

See Code Snippet for these lines of code - attempting to repeat calendar entry each 3rd wed. by hardcoding dates: