ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Morning,
I have a simple userform which i will select a Month & Year from the drop down box & when i press the command button it will place the selected values into there respective cells.
I wish the userform to appear when i open the worksheet BUT only if the cell in question is empty.
Should there be a value in the cell then dont open the userform.
Many thanks.
Here is the info.
Cell for where the code should look to see if the userform needs to be shown etc is worksheet INCOME (1) cell B1
Userform Info
ComboBox1 value should be sent to cell INCOME (1) cell B1
ComboBox2 value should be sent to cell INCOME (1) cell B2
CommandButton1 is pressed to send values from userform to Worksheet
Have a weekend.
I have a simple userform which i will select a Month & Year from the drop down box & when i press the command button it will place the selected values into there respective cells.
I wish the userform to appear when i open the worksheet BUT only if the cell in question is empty.
Should there be a value in the cell then dont open the userform.
Many thanks.
Here is the info.
Cell for where the code should look to see if the userform needs to be shown etc is worksheet INCOME (1) cell B1
Userform Info
ComboBox1 value should be sent to cell INCOME (1) cell B1
ComboBox2 value should be sent to cell INCOME (1) cell B2
CommandButton1 is pressed to send values from userform to Worksheet
Have a weekend.