PDA

View Full Version : Automatically adding a location each time a meeting is created



Noam_IBM
12-23-2020, 05:11 AM
Hello
I would like to automatically add a location in each Meeting that I open. For example: "Room 101" in the location field. Any suggestions?
Thank you,

-Noam

gmayor
12-23-2020, 10:34 PM
See your associated post - http://www.vbaexpress.com/forum/showthread.php?68195-Automatically-updating-fields-each-time-an-appointment-is-created

Noam_IBM
01-03-2021, 01:45 AM
Hi Graham,<br>
Thank you for the suggestion above.<br>
I tried to run it, but got an error message after I ran the Macro.<br>
After I clicked on "Run" I got an error message: "Type&nbsp; mismatch".<br>
How can I resolve this?<br>
Thank you,<br>
<br>
-Noam

gmayor
01-03-2021, 10:57 PM
You are running the code in Outlook? Which line is flagged in error?

Noam_IBM
01-06-2021, 02:37 AM
Yes, in Outlook.
When I initially tried to run the Macro it was stuck on the second row "strLocation As String", but when I try to run it now I get an error message saying that "Macro's are disabled for this project".
Not sure why that is.