I need to copy a row to another sheet in the same workbook based on a drop down answer.

Mebillups

New Member
Joined
Jan 11, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
i need to copy a row to another sheet in the same work book based on the drop down selection chosen. Column A is drop down with possible selections of Tile, Stone, Marble. Based on the selection the row gets copied to the next available row on the sheet with the same title.

1st sheet is a log for all invitations to bid work. Based on the selection in the drop down the data copies to another sheet with the correct title. If tile is selected it gets copied to the sheet with all the tile projects etc
 

Some videos you may like

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,231
Office Version
  1. 365
Platform
  1. Windows
Hi & welcome to MrExcel.
How about
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
   If Target.CountLarge > 1 Then Exit Sub
   If Target.Column = 1 And Target <> "" Then
      Target.EntireRow.Copy Sheets(Target).Range("A" & Rows.Count).End(xlUp).Offset(1)
   End If
End Sub
This needs to go in the Log sheets code module.
 

Watch MrExcel Video

Forum statistics

Threads
1,126,929
Messages
5,621,656
Members
415,849
Latest member
PhoenixRising2015

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
Top