+ Reply to Thread
Results 1 to 10 of 10

what is the VBA codes for multi-selected field

  1. #1
    Registered User
    Join Date
    09-22-2018
    Location
    Philippines
    MS-Off Ver
    windows10
    Posts
    7

    Question what is the VBA codes for multi-selected field

    Tools concatenated into a single cell
    If you click on Create Project, you see that now you can select the tools needed to complete the project. Once you click on request project and send notification, an email pops up with the data that was inputted into the form. Because the tools field is a multi-selection, I need the selections to concatenate into a single cell so it can be visible on the email, and in the assigned projects tab.

    Feedback Email
    We want to receive feedback from the category and sourcing managers in order to improve the program. Once a project is complete, we want the lead to click the “request feedback” check box in the assigned projects tab, and have that click trigger a macro that sends an email to the requestor with the questions to answer. I’ve found some answers on the internet that leads me to believe this is possible, but I haven’t been successful in getting it to work.
    Attached Files Attached Files

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: what is the VBA codes for multi-selected field

    You attached file has no macros, but when you add a a ListBox or Combobox you can select the option MultiSelect True or False, the name says it.
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    09-22-2018
    Location
    Philippines
    MS-Off Ver
    windows10
    Posts
    7

    Re: what is the VBA codes for multi-selected field

    Hi Hans,

    Have the done in alphabetic/Categorized window.

  4. #4
    Registered User
    Join Date
    09-22-2018
    Location
    Philippines
    MS-Off Ver
    windows10
    Posts
    7

    Re: what is the VBA codes for multi-selected field

    Hi Hans,

    I attached the file
    Attached Files Attached Files

  5. #5
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: what is the VBA codes for multi-selected field

    If the emails are real please remove private information. I suggest you delete the attached file, or ask the moderator to do so and post a file without this data.
    I downloaded it and if I reattach it (if I have a solution for you) I will remove them too.

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: what is the VBA codes for multi-selected field

    I notice you use external ocx controls which are not present on my machine and that I refuse to use due the compatibility issues they cause.
    You Userforms (with date controls) won't work so I cannot check and see what your code does and thus helping you will be difficult.
    Sorry for that.

  7. #7
    Registered User
    Join Date
    09-22-2018
    Location
    Philippines
    MS-Off Ver
    windows10
    Posts
    7

    Re: what is the VBA codes for multi-selected field

    Hi Hans,

    The emails are not real, that's not the real list of email for the macro.
    Thank you for trying to help.

    I hope someone could help to solve the error in this VBA codes.
    Last edited by vbasia; 09-24-2018 at 01:43 AM. Reason: additonal information

  8. #8
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: what is the VBA codes for multi-selected field

    Okay, sorry, my incorrect assumption
    What is the error YOU get?
    You didn't mention errors in your question, just how to solve something.
    I get the errors because of the ocx control so I cannot execute the macros to test what you have.

  9. #9
    Registered User
    Join Date
    09-22-2018
    Location
    Philippines
    MS-Off Ver
    windows10
    Posts
    7

    Re: what is the VBA codes for multi-selected field

    Hi Hans,

    After I filled up the create project form and click on request project and send notification tab, an email pops up with the data that was inputted into the form. But the problem is the selected value for Tools field didn't appear in the email. Note: Tools field is multi-selected listbox/combo box.

  10. #10
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: what is the VBA codes for multi-selected field

    That is not an error. That is incorrect coding.
    But, like I mentioned I will not be able to help you because the date picker does not work and I get an error when I try to open the form.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Field codes use in mail merge
    By Skiingbeancounter in forum Word Formatting & General
    Replies: 4
    Last Post: 07-08-2014, 10:13 AM
  2. Footer with Field Codes
    By emmetje in forum Word Formatting & General
    Replies: 15
    Last Post: 08-01-2012, 06:35 PM
  3. confusion with merge and field codes
    By BluRay in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2011, 08:05 PM
  4. Field Codes - Prompt for Yes/No answer
    By tomlancaster in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 09-24-2009, 11:29 AM
  5. Word opens with all field codes toggled
    By tpw101 in forum Word Formatting & General
    Replies: 1
    Last Post: 06-04-2009, 11:57 PM
  6. multi column table of area codes per state
    By gppatnude in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-30-2007, 08:47 PM
  7. Field Codes for Excel?
    By masetodd in forum Excel General
    Replies: 3
    Last Post: 01-26-2007, 03:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1