Hi folks,
It's been a while since I've posted something, because usually I can find what I'm looking for in exsisting threads. However, this time I guess I didn't phrase my search correctly, because I came up blank. So...here's my problem:
We collect our research data in an excel spreadsheet. Some of our data have to be sent (in a special xml format) to a national database.
The people from the database have provided us with an exporter spreadsheet which nicely translates our data to the correct xml format. However, we currently have to copy and paste our data to this spreadsheet manually. Which is of course not really a problem, but can go wrong if you have to do it several times in a row. So, I was planning to automise this through a macro.
Seems simple enough, but as a part of the process, I have to select one of three options from a combobox included in the exporter spreadsheet. Since I've never written a macro with a combobox included in it before, my first idea was to simply record the macro. However, the part where I made my selection in de combobox was nowhere to be found in de resulting macro. It went straight from my last action before the combobox to my first action after the combobox.
The question should be obvious by now: Can anybody tell my how to say in VBA : Select the combobox named cboX and set this combobox to option A, B or C ?
Oh, since I don't know if this is important or not (I think not, but who am I?): The VBA in the exporter spreadsheet is password protected and I know for certain I'm not going to get that password.
Thanks in advance
Thirsa
Bookmarks