HELLO~
WorkbookA: one workbook with 500 rows, 15 columns
i.e. Product Name, Product Code, Volume,...
WorkbookB: 3 worksheets with tables and more or less of WorkbookA column headings all in a table format, where the user types in the product name, product code in various cells. (i want to run the macro from this workbook on sheet 1).
My goal: I have 500 rows of data to enter in 3 different worksheets, which will result in a lot of human error, I'm sure.
1. I want to copy data from WorkbookA and dump it in the appropriate cells for the 3 worksheets in WorkbookB.
2. For example, if I had "apple" under the column heading Product Name in WorkbookA and I run the macro, "apple" should automatically insert into WorkbookB!Sheet1, WorkbookB!Sheet2 and WorkbookB!Sheet3 along with all the other info associated with "apple" like product code, volume,...
Here is what I have come up with so far. Case 1 is copies/pastes "Product Name" (Column A); Case 2 copies/pastes "Product Code" (Column B); Case 3 copies/pastes "Volume" (Column C). Obviously, I am new at this and would appreciate any help!
Sub CopyDataFromBboxes()
'
'CopyDataFromBboxes Macro
'
'SHEET 1 WORKSHEET ENTRY
'
Select Case (PRODUCTNAME)
Case 1
Windows("WorkbookA.xls").Activate
Range("A2:A506").Copy
Windows("WorkbookB.xls").Activate
Sheets("Sheet1").Select
Range("C3").PasteSpecial (x1Values)
Sheets("Sheet2").Select
Range("H8").PasteSpecial (x1Values)
Sheets("Sheet3").Select
Range("B5").PasteSpecial (x1Values)
Case 2
Windows("WorkbookA").Activate
Range("B2:B506").Copy
Windows("WorkbookB").Activate
Sheets("Sheet1").Select
Range("C4").PasteSpecial (x1Values)
Sheets("Sheet3").Select
Range("H5").PasteSpecial (x1Values)
Case 3
Windows("WorkbookA").Activate
Range("C2:C506").Copy
Windows("WorkbookB").Activate
Sheets("Sheet1").Select
Range("C7").PasteSpecial (x1Values)
Sheets("Sheet2").Select
Range("H10").PasteSpecial (x1Values)
Sheets("Sheet3").Select
Range("C6").PasteSpecial (x1Values)
.
.
.
WorkbookA: one workbook with 500 rows, 15 columns
i.e. Product Name, Product Code, Volume,...
WorkbookB: 3 worksheets with tables and more or less of WorkbookA column headings all in a table format, where the user types in the product name, product code in various cells. (i want to run the macro from this workbook on sheet 1).
My goal: I have 500 rows of data to enter in 3 different worksheets, which will result in a lot of human error, I'm sure.
1. I want to copy data from WorkbookA and dump it in the appropriate cells for the 3 worksheets in WorkbookB.
2. For example, if I had "apple" under the column heading Product Name in WorkbookA and I run the macro, "apple" should automatically insert into WorkbookB!Sheet1, WorkbookB!Sheet2 and WorkbookB!Sheet3 along with all the other info associated with "apple" like product code, volume,...
Here is what I have come up with so far. Case 1 is copies/pastes "Product Name" (Column A); Case 2 copies/pastes "Product Code" (Column B); Case 3 copies/pastes "Volume" (Column C). Obviously, I am new at this and would appreciate any help!

Sub CopyDataFromBboxes()
'
'CopyDataFromBboxes Macro
'
'SHEET 1 WORKSHEET ENTRY
'
Select Case (PRODUCTNAME)
Case 1
Windows("WorkbookA.xls").Activate
Range("A2:A506").Copy
Windows("WorkbookB.xls").Activate
Sheets("Sheet1").Select
Range("C3").PasteSpecial (x1Values)
Sheets("Sheet2").Select
Range("H8").PasteSpecial (x1Values)
Sheets("Sheet3").Select
Range("B5").PasteSpecial (x1Values)
Case 2
Windows("WorkbookA").Activate
Range("B2:B506").Copy
Windows("WorkbookB").Activate
Sheets("Sheet1").Select
Range("C4").PasteSpecial (x1Values)
Sheets("Sheet3").Select
Range("H5").PasteSpecial (x1Values)
Case 3
Windows("WorkbookA").Activate
Range("C2:C506").Copy
Windows("WorkbookB").Activate
Sheets("Sheet1").Select
Range("C7").PasteSpecial (x1Values)
Sheets("Sheet2").Select
Range("H10").PasteSpecial (x1Values)
Sheets("Sheet3").Select
Range("C6").PasteSpecial (x1Values)
.
.
.