Hi all,
this is my first time posting here, as well as my first vba project. I've only been introduced to the topic recently, and am starting to try my hands at it.
The workbook I created is intended as a list for the concerts I attended.
A button pops a userform asking for date, venue, bands, and curator if there's any. The code was scraped from various forums of the web + my tiny understanding of vba.
My problem lies on the venue, for which I have two input methods: the first one is a simple text box, the second one is combo box pulling from a list on a hidden worksheet.
My code so far in the "OK button" of the userform, referencing to the venue output, is:
This is broken because it only acknowledges one of the two outputs, I've not really understood while troobleshooting why it picked sometimes the textbox and sometimes the cbbox, while I touched the code a bit randomly.
Attaching my entire workbook it it helps more, feel free to tell me if you find something too amateur-ish to be true! (see FormatMacro, kinda ashamed of this one.. as well as the Application.Run in the OK button, needs adjusting if the workbook is renamed...)
On a sidenote; I was wondering if there was any way to make the InputDate text box to automatically add slashes when typing, i.e. inserting a slash after typing the two first numbers, and again after the two following numbers, inside the userform, keeping them on the actual output (am I clear here? If not nevermind).
Thanks to all!
ED
Bookmarks