Hi Everyone,
I am trying to input data from a user form into specific cells.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
Basically I have a userform with 2 comboboxes and a text box.<o></o>
<o></o>
Combobox 1 lists months (Jan to Dec) and i want this to set the row for the data from the textbox to be input in to.<o></o>
<o></o>
Combobox 2 lists B,C,D,E this will set which column to drop the data from the text box <o></o>
into.<o></o>
<o></o>
So for example the operator would select Jan and B from the comboboxes which would place the data into cell B1 (Jan = Row 1).<o></o>
<o></o>
I have come with a very ugly and longwinded way of doing this using a series of IF statements e.g (If cboMonth = ("Jan") Then Cell("A1").Select) which will work for my purposes but may take m a while to code.<o></o>
<o></o>
Is there a simpler way?<o></o>
<o></o>
Any help would be gratefully received.<o></o>
<o></o>
Best Regards,<o></o>
<o></o>
Craig
I am trying to input data from a user form into specific cells.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
Basically I have a userform with 2 comboboxes and a text box.<o></o>
<o></o>
Combobox 1 lists months (Jan to Dec) and i want this to set the row for the data from the textbox to be input in to.<o></o>
<o></o>
Combobox 2 lists B,C,D,E this will set which column to drop the data from the text box <o></o>
into.<o></o>
<o></o>
So for example the operator would select Jan and B from the comboboxes which would place the data into cell B1 (Jan = Row 1).<o></o>
<o></o>
I have come with a very ugly and longwinded way of doing this using a series of IF statements e.g (If cboMonth = ("Jan") Then Cell("A1").Select) which will work for my purposes but may take m a while to code.<o></o>
<o></o>
Is there a simpler way?<o></o>
<o></o>
Any help would be gratefully received.<o></o>
<o></o>
Best Regards,<o></o>
<o></o>
Craig