Extracting a location from a meeting - VBA

Joshyd

New Member
Joined
Mar 6, 2019
Messages
17
Hi,

I am not sure if this is possible, but I have a macro that is building onboarding schedules in Word and filling in details based on an excel spreadsheet. The current problem I am having is that the locations of the meetings do change every couple of weeks. These locations are in Outlook meetings. I am wondering if there is a way for VBA to look at the meeting in the calendar (on the next onboarding day), and extract the meeting location to be inserted into the Word document.

Thanks in advance.

Josh
 
Hi There,

You were right that I did not have a solution yet! Because I know the full context of the appointments, I was able to set up a simple nested if that looks at weekdays and assigns a date based on that, but your solution seems to work too with some tweaking to fit in my sheet. I am not going to post my code because yours is way more adaptable and would be a better example for people! you are a hero @shknbk2! Thank you so much for your help
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,214,798
Messages
6,121,630
Members
449,041
Latest member
Postman24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top