Transfer data from one sheet to another and make report

sujittalukde

Well-known Member
Joined
Jun 2, 2007
Messages
520
I want get an automate procedure to make a report.

The user will enter data in sheet 1. each row will be treated as a record and will containn some fields. This fields will be transferred to sheet 2 at appropriate cells for each record but the user can print only one report alias record at a time That is the same format will be used in sheet 2 report for all the records but only one report will be printed at a time. A button will be placed on sheet 1 which will on clicking pop up an input box

Wherein the user will put the serial number of the record and the sheet 2 will copy the data of that record to sheet2.

Suppose, sheet 1, row 2 is the serial number 1. the user will click the button, named “select record to print” and an input box will poop up wherein he will put 1 (the serial number). If he goes to sheet 2, he will see the data of serial no. 1

A screen shot is given as a sample. Please make the code dynamic so that I can change the same to suit my needs.

For sheet1 (Data Entry)
VBAX - sujittalukde - ShowSheetBasedOnROW.xls
ABCDEFG
1Sl No.NameAddressPhone numberYearAmountBank
21ABCXYZ22200725000A BANK
32DEFSDF332200630000TEK BANK
43
DataEntry


Sheet 2 (Report)
VBAX - sujittalukde - ShowSheetBasedOnROW.xls
ABCDEFGHI
3NameBankYear
4
5Phone Number
6
7
8
9
10
11Address
12
13
14
15
16Amount
17
18Add: 10%
19
20Total
21
Report
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,216,031
Messages
6,128,424
Members
449,450
Latest member
gunars

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