Copying data in a row into a sheet with the same name.

EsoTerik11

New Member
Joined
Jun 30, 2023
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
Hello, I am fairly new to VBA and am struggling to get one thing right in my workbook. I have the macros written that reads a cell in column D on my main data sheet and it creates a new sheet tab with that number. I want to copy the data from the row with the same identifying number and paste it into the sheet with the same name as the identifying number since some of the identifiable numbers have many duplicates on the main data sheet. The number I want checked and compared to the sheet name is in column D and the data starts on D2 under the header. The data in the row I want copied and pasted goes from A2:W2. I don’t need it to update when new information is added since this document will serve as a template to convert the data given to it.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
This sounds doable. I'll try to assist. But you'll have to help the helper a bit so that the helper does not have to imagine your data and worksheet.

Might we see the code?

Also, post some data using Mr Excel's excellent XL2BB which enables you to post a portion of a worksheet. See HERE for details.
 
Upvote 0

Forum statistics

Threads
1,223,247
Messages
6,171,007
Members
452,374
Latest member
keccles

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