I need help on how to transfer a row of data in sheet2 on my input column in sheet1

doms123

Board Regular
Joined
Apr 19, 2011
Messages
58
I am using Excel2007 and im having problem in transferring a row of data in my Sheet2 where it is my masterlist to a column of input cells in sheet1.

this is my sheet1


Excel Workbook
ABCDEFGH
1********
2********
3**Name***
4********
5**Age***
6********
7**Sex***
8********
9**B-day*****
10***MonthDayYear**
11**Address***
12********
13**Contact No.***
14********
15***ENCODE***
16********
17***CLEAR ALL***
18********
19********
Sheet1


then this is my masterlist...


Excel Workbook
ABCDEFGH
1NameAgeSexB-dayAddressContact No.
2MonthDayYear
3Applicant John21*April211990New York12345
4Applicant Mark21maleJanuary141990Arkansas*
5Applicant Lucy25*February21985*67890
6Applicant Jenny22female**1989Hawaii23456
7********
8********
9********
10********
11********
12********
13**EDIT****
Sheet2


and if i select a row on th masterlist like this

Excel Workbook
ABCDEFGH
16NameAgeSexB-dayAddressContact No.
17MonthDayYear
18Applicant John21*April211990New York12345
19Applicant Mark21maleJanuary141990Arkansas*
20Applicant Lucy25*February21985*67890
21Applicant Jenny22female**1989Hawaii23456
22********
23********
24********
25********
26********
27********
28**EDIT****
Sheet2


and press the edit button it will go like this for editing

Excel Workbook
ABCDEFGH
22********
23********
24**NameApplicant Lucy**
25********
26**Age25**
27********
28**Sexfemale**
29********
30**B-dayFebruary21985**
31***MonthDayYear**
32**AddressTexas**
33********
34**Contact No.67890**
35********
36***ENCODE***
37********
38***CLEAR ALL***
39********
40********
Sheet1


and if i click the encode button the masterlist will go like this...

Excel Workbook
ABCDEFGH
30NameAgeSexB-dayAddressContact No.
31MonthDayYear
32Applicant John21*April211990New York12345
33Applicant Mark21maleJanuary141990Arkansas*
34Applicant Jenny22female**1989Hawaii23456
35Applicant Lucy25femaleFebruary21985Texas67890
36********
37********
38********
39********
40********
41**EDIT****
Sheet2


I need a code inside the edit button(on the sheet2) and transfer the data on the sheet1. it must be transfer first the delete that whole row...

Plese Help me...
Thank You in Advance
 
Last edited:

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
D5 could have a formula like
=VLOOKUP(D3, Sheet2!$A$1:$A$10, 2, False)

similarly for the others
 
Upvote 0
Perhaps this
Code:
Sub test()
    With ActiveCell.EntireRow
        ThisWorkbook.Sheets("Sheet1").Range("D3") = .Range("A1").Value
        ThisWorkbook.Sheets("Sheet1").Range("D5") = .Range("B1").Value
        ThisWorkbook.Sheets("Sheet1").Range("D7") = .Range("C1").Value
        ThisWorkbook.Sheets("Sheet1").Range("D9") = .Range("D1").Value
        ThisWorkbook.Sheets("Sheet1").Range("E9") = .Range("E1").Value
        ThisWorkbook.Sheets("Sheet1").Range("F9") = .Range("F1").Value
        ThisWorkbook.Sheets("Sheet1").Range("D11") = .Range("G1").Value
        ThisWorkbook.Sheets("Sheet1").Range("D13") = .Range("H1").Value
    End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,216,111
Messages
6,128,898
Members
449,477
Latest member
panjongshing

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