cardinalphin
New Member
- Joined
- Nov 23, 2016
- Messages
- 10
Good evening and Merry Christmas!
I've got a very simple spreadsheet that I'm trying to control via a userform. I have several comboboxes that apply filters to the information on a sheet that contains all of the data for the spreadsheet.
I've got a lot of it working, in large part thanks to help from this site. I'm having issues with getting the filtered data to populate the text boxes in my user form.
Here's how I want the form to work. I want to populate the top result in the text box (there are actually 2 text boxes - but they are to be populated from the same row of data). I'll eventually be tying in buttons to allow users to select the next & previous row as well.
I've tried a few different ways to get the basic implementation working, but I'm not really having any luck.
This is the most recent attempt that I've made to accomplish what I'm looking for... With this code I'm getting a run time 424 error.
I've also tried it this way...
Using that code I'm getting a run-time 450 error.
I appreciate any help that anyone can offer.
Thanks for looking and have a merry Christmas!!!
I've got a very simple spreadsheet that I'm trying to control via a userform. I have several comboboxes that apply filters to the information on a sheet that contains all of the data for the spreadsheet.
I've got a lot of it working, in large part thanks to help from this site. I'm having issues with getting the filtered data to populate the text boxes in my user form.
Here's how I want the form to work. I want to populate the top result in the text box (there are actually 2 text boxes - but they are to be populated from the same row of data). I'll eventually be tying in buttons to allow users to select the next & previous row as well.
I've tried a few different ways to get the basic implementation working, but I'm not really having any luck.
This is the most recent attempt that I've made to accomplish what I'm looking for... With this code I'm getting a run time 424 error.
Code:
faultBox = Data.Range.SpecialCells(xlCellTypeVisible).Cells(22, 1).Value
I've also tried it this way...
Code:
faultBox = Worksheets("Data").Range.SpecialCells(xlCellTypeVisible).Cells(1, 1).Text
Using that code I'm getting a run-time 450 error.
I appreciate any help that anyone can offer.
Thanks for looking and have a merry Christmas!!!