ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
On my worksheet called Sheet1 i have a range I26:I35 with values in.
My intensions are to press a transfer button on a userform & select a Month.
This will copy the cell range values shown above to 1 of 13 possible paste locations on the same sheet depending on the MONTH selected from the listbox.
Here is some info for you.
Worksheet called SUMMARY SHEET
Cell Range to copy values from I26:I35
These MONTH NAMES are loaded into the ComboBox1
Selecting a MONTH NAME & then pressing the transfer button will paste the values to location specific to the MONTH NAME
Transfer button is called TRANSFER_VALUE_BUTTON
comboBox where Months are loaded is called ComboBox1
APRIL START Cell Range to paste to B4:B13
MAY Cell Range to paste to E4:E13
JUNE Cell Range to paste to B19:B28
JULY Cell Range to paste to E19:E28
AUGUST Cell Range to paste to B34:B43
SEPTEMBER Cell Range to paste to E34:E43
OCTOBER Cell Range to paste to B49:B58
NOVEMBER Cell Range to paste to E49:E58
DECEMBER Cell Range to paste to B64:B73
JANUARY Cell Range to paste to E64:B73
FEBRUARY Cell Range to paste to B79:B88
MARCH Cell Range to paste to E79:E88
APRIL END Cell Range to paste to B94:B108
Example.
I open userform & select DECEMBER from the drop down option list.
I then press the TRANSFER BUTTON.
The values in the Range I26:I35 are copied & then pasted into the Range B64:B73
Once done i should see a confirmation msgbox & the ComboBox will then reset itself so DECEMBER is no longer selected.
Many thanks
My intensions are to press a transfer button on a userform & select a Month.
This will copy the cell range values shown above to 1 of 13 possible paste locations on the same sheet depending on the MONTH selected from the listbox.
Here is some info for you.
Worksheet called SUMMARY SHEET
Cell Range to copy values from I26:I35
These MONTH NAMES are loaded into the ComboBox1
Selecting a MONTH NAME & then pressing the transfer button will paste the values to location specific to the MONTH NAME
Transfer button is called TRANSFER_VALUE_BUTTON
comboBox where Months are loaded is called ComboBox1
APRIL START Cell Range to paste to B4:B13
MAY Cell Range to paste to E4:E13
JUNE Cell Range to paste to B19:B28
JULY Cell Range to paste to E19:E28
AUGUST Cell Range to paste to B34:B43
SEPTEMBER Cell Range to paste to E34:E43
OCTOBER Cell Range to paste to B49:B58
NOVEMBER Cell Range to paste to E49:E58
DECEMBER Cell Range to paste to B64:B73
JANUARY Cell Range to paste to E64:B73
FEBRUARY Cell Range to paste to B79:B88
MARCH Cell Range to paste to E79:E88
APRIL END Cell Range to paste to B94:B108
Example.
I open userform & select DECEMBER from the drop down option list.
I then press the TRANSFER BUTTON.
The values in the Range I26:I35 are copied & then pasted into the Range B64:B73
Once done i should see a confirmation msgbox & the ComboBox will then reset itself so DECEMBER is no longer selected.
Many thanks