У нас вы можете посмотреть бесплатно Select MULTIPLE Items From an Excel DROP-DOWN List или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Unlock the power of Excel with this detailed tutorial on how to select multiple items from a drop-down list using VBA. This feature can significantly enhance your spreadsheets' functionality, making data entry and analysis more dynamic and flexible. In this video, you'll learn: -How to modify your Excel drop-down lists to allow multiple selections. -Step-by-step instructions on writing and implementing VBA code to make this feature work. -Practical tips to ensure smooth integration and functionality. VBA Code Provided: Private Sub Worksheet_Change(ByVal Target As Range) ' Enable multiple selections in a Drop Down List in Excel specifically for cell D2. ' Exit the subroutine if the change is not in cell D2 or if the cell does not have validation. If Not Intersect(Target, Me.Range("D2")) Is Nothing Then If Not Target.SpecialCells(xlCellTypeAllValidation) Is Nothing Then Dim Oldvalue As String Dim Newvalue As String On Error Resume Next ' Gracefully handle any errors during operations. Application.EnableEvents = False ' Prevent Excel from firing further events. Newvalue = Target.Value ' Store the new value. Application.Undo ' Undo the new value to get the old value. Oldvalue = Target.Value ' Store the old value. ' Check if there was an old value and concatenate with a comma if it exists. If Oldvalue NOTEQUALTO "" And Newvalue NOTEQUALTO "" Then Target.Value = Oldvalue & ", " & Newvalue Else Target.Value = Newvalue ' Set just the new value if the old value is empty. End If Application.EnableEvents = True ' Re-enable Excel events. End If End If End Sub Copy and paste this code into your VBA editor to enable multiple selections in your Excel drop-down lists. Featured Resources: 🎓 Enhance your Excel skills further: https://linktr.ee/MySkillsoftCourses 🔗 Book a personal mentoring session: https://topmate.io/mehran_vahedi 📸 Follow for daily insights: https://x.com/WisdomByData 🤝 Support my work: https://buymeacoffee.com/mehranvahedi 🔗 Connect professionally: / mehranvahedi Engage with Our Community: 👇 Have questions or need clarification? Drop your questions and thoughts in the comments below! Your feedback is invaluable and shapes the content we create. Share this video to help others master Excel too! 🌟 Engage with our content to help our community thrive and continue receiving top-notch Excel tips! #ExcelTips #VBA #DataManagement #ExcelTutorial