Moving data from sheet to sheet using a drop down menu

Willikins88

New Member
Joined
Jun 27, 2018
Messages
2
Hi all, new to here but I need some help and was told that you guys may be able to help me. Essentially I am trying to move data from one sheet to another in the same work book, but in a particular way and my coding skills are little to non existent. Essentially I have a drop down with weeks numbered 1-52 in Cell F3 in sheet MW.

What I am looking to do is when I select a number from this drop down for it to pull data out of another sheet (TA) into this one. So for example, if I choose 1 in F3 in sheet MW I need it to copy the data from B4-B14 in Sheet TA and copy it to Cells o7-o17 in sheet MW. The o7-o17 in MW is constant however the source would change to c4-14 for "2", d4-14 for 3 and so on (all in TA).

I really hope you can help me as I am really struggling with this and I would be super grateful
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi. Try this code. It goes into the sheet MW module (right click the tab of that sheet / choose View Code to open it's module).

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
 If Target.Address <> "$F$3" Then Exit Sub
 [O7:O17] = Sheets("TA").Cells(4, [F3] + 1).Resize(11).Value
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,428
Messages
6,119,420
Members
448,895
Latest member
omarahmed1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top