Trying to populate an appointment ComboBox from Excel

Status
Not open for further replies.

CannukInUSA

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server 2013
Hello All.

Newbie here so forgive me if this is elementary. I've done fairly well self-teaching in Outlook 2013. Here's my goal:

I have created custom pages on my outlook appointment where I can track the purpose of the appointment, client, type of meeting, etc. It's all the minute details I need to pull onto a weekly timesheet report for my job. Creating the form has been successful and I am able to pull the data out via Crystal Report easily. See screenshot #1 for an idea of how I have built my form.

One of the details is the client name. I need to summarize my tasks by client and by region. So I created another page to list all the clients. Because we have a constantly growing list of clients, I broke the page into tabs, one for each state. In each tab, I created a combobox in which I manually entered the values, each separated by a comma. All the comboboxes across all tabs map back to the same user-defined field "clientname".

My challenge is that each time we add a new client, I have to open up the combobox of the appropriate state tab, edit the values list manually, and be careful to sort them alphabetically so I can easily find each entry. It's becoming unweildly.

So, ideally, I'd like to have an excel workbook in which I have one sheet for each state, and in each sheet I list the clients. That is easy to update and easy to sort. Then I'd like two comboboxes on my Outlook form, one in which I select a state (and that can easily be from a static list entered into the Values property, since there is a finite quantity)... and then based up on the state selected in ComboBox1 I'd like ComboBox2 to refer to the appropriate sheet in that excel workbook and populate the combobox from the list of customers in column 1.

I have done this many times in Access and Excel.. but for some reason the coding to make it work in Outlook is eluding me.. both the code in the form and the connection to the spreadsheet.

Does anyone have any examples or suggestions?

Thanks in advance

slipstick01.png


Slipstick02.png
 

CannukInUSA

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server 2013
Thanks Diane, I saw your post a while ago as I was researching. Yours is handy, but a too simplistic for my ultimate goal of being able to pull from a spreadsheet. Maintaining a txt file will still be a lot of manual work. In a spreadsheet, I can set macros to automatically sort, plus if I pull column 1 from each sheet as I described above, I can use the other columns for other data on those clients... thereby having all my data in one workbook.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
M outlook 365 trying to finish my sentences Using Outlook 0
A Run-time error '430' on certain emails when trying to set "Outlook.mailitem" as "ActiveExplorer.Selection.Item" Outlook VBA and Custom Forms 2
R Error when trying to forward current email item Outlook VBA and Custom Forms 7
X I have met my waterloo trying to resolve embedded graphics problem with outlook 2007 and now 2016 Using Outlook 1
O The page that you are trying to access cannot be loaded. Using Outlook 0
T Outlook "A program is trying to access Outlook" Using Outlook 3
S SendFromAccount - Problem trying to test existing value in open email Outlook VBA and Custom Forms 2
N Error 0x80090326 when trying to setup IMAP account on Outlook.com Using Outlook.com accounts in Outlook 1
KURTiS MAXiMUS Trying to appactivate ERP window Outlook VBA and Custom Forms 16
R Trying to extract information between two symbols from outlook subject Using Outlook 2
Danie Lawson Trying to recover calendar Using Outlook 4
L Trying to open contacts pst. file in outlook 365 Using Outlook 3
L Trying to check for the absence of mail. Outlook VBA and Custom Forms 1
M trying to disable junk email filter. completely. Using Outlook 4
D Trying to repair Outlook rules Using Outlook 5
S Outlook 2010 trying to default Data file to outlook.com calendar Using Outlook 6
C Trying to move my Business Contact Manager ver. 2003 to BCM ver. 2010 Using Outlook 3
R Trying to sync my Outlook email on iphone Using Outlook 1
A outlook trying to keep sending Using Outlook 1
P Trying to add subject and name to an email using VB Code Using Outlook 3
B Trying to get old emails from a not working computer but having trouble. Using Outlook 6
P Outlook works, but freezes when trying to use calender v2007 (vista prof) Using Outlook 1
K A program is trying to send an e-mail message on your behalf... Using Outlook 1
P Trying to get 'Calendar Name' to appear like 'Subject' and 'Location' in event Calendar Printing Assistant 0
S Trying to have a prompt to ask for text to be added to subject before sending. Using Outlook 3
A Trying to connect to exchange Exchange Server Administration 3
K Wont send or recieve now with new server keeps asking for password when trying Using Outlook 1
D Outlook "Trying to Connect" Exchange Server Administration 1
J A program is trying to access e-mail address you have stored in Outlook. Do you want to allow this. Using Outlook 2
C Error message when trying to send email using a distribution list Using Outlook 2
P exchange management consoles has stoped working and yes I have read the above article and tried the troubleshooter and spent days reading and trying d Exchange Server Administration 0
C Trying to set up access to my Gmail account using IMAP Using Outlook 3
N Exchange 2010 RPC Over HTTPS, outlook keep trying port 135 Exchange Server Administration 9
K trying to sync my samsung galaxy to my outlook 2010 calender. it says execution privilege prevents me from accessing outlook Using Outlook 1
N Slow / non response trying to pass from one folder to other (both in OUTLOOK.PST) Using Outlook 2
B Trying to find & run Scanpst.exe. Outlook can't log onto server. Have removed update KB2412171 & it did not correct problem. Have done a resto Using Outlook 2
J Error message when trying to download attachments to e-mails Using Outlook 1
P Error when trying to open EMC and Powershell Exchange Server Administration 4
0 trying to get rid of the "end" time of each event within each day on the calendar. This shows up wh Using Outlook 1
L Receive error message when trying to receive new emails Using Outlook 1
T Error code: Error Code OX800CCC7D. Can receive email but when trying to send email it goes to the ou Using Outlook 2
B Cannot Start Microsoft Outlook - still after trying all fixes Using Outlook 1
T Outlook 2010 continues to deselect self while trying to create email Using Outlook 3
O outlook 2010 - trying to send JPG attachments, but they are automatically converted into DAT files a Using Outlook 2
P Trying to use ICS file to update events in Outlook Using Outlook 2
D Outlook 2003 is getting an error when trying to open an exchange 2010 mailbox Exchange Server Administration 5
F OWA internal and external address is trying to resolve on an external DNS server on the internet Using Outlook 2
A Outlook 2010 trying to create calendar/task entries generates error "Could not save item.The connect Using Outlook 2
B when trying to open a link in an incoming email, get an error, 'This operation has been canceled due to the restrictions in this computer...&quot Using Outlook 2
D when trying to get into outlook error message reads connection to microsoft exchange is unavailable. Using Outlook 4

Similar threads

Top