How to do a macro for PaymentVoucher,CashBook,and Bank Check

Susan Soo

New Member
Joined
Nov 13, 2004
Messages
33
:confused:
I shall be much obliged if you guys could kindly let me have a copy of the VBA codes or Macro to run the above and the following.

1)I have 4 data to key into a worksheet named Payment Voucher.
1.1 Date in Cell G1
1.2 Name in Cell B4
1.3 Invoice amount in Cell B7
1.4Amount in Number [120,223.45] in Cell F7

2) I hope that you guys could help me to do the following:-

2.1) When I key the date in Cell G1 at Payment Voucher, the date will automatically appear in the following 2 worksheets.
2.a) Cell A2 of worksheet Cash Book
2.b) Cell G1 of worksheet Bank Check

2.2) When I key the name in Cell B4 at Payment Voucher, the name will automatically appear in the following 2 worksheets.
2.2.a) Cell C2 of worksheet Cash Book
2.2.b) Cell B4 of worksheet Bank Check

2.3) When I key the amount in number in Cell F7 at Payment Voucher, the number will automatically appear in the following 2 worksheets.
2.3.a) Cell E2 of worksheet Cash Book
2.3.b) Cell F6 of worksheet Bank Check
Most importantly,
2.3.c) Cell B6 of worksheet Bank Check, the number in text must be appeared like this " One Hundred Twenty Thousand And Two Hundred Twenty Three and Cents Forty Five Only "


Please take note that all the worksheets for Payment voucher, Cash Book and Bank Check are in different workbooks.

Any suggestion is most welcome.

Thanks in advance.

Susan :cool:
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Re: How to do a macro for PaymentVoucher,CashBook,and Bank C

A basic solution...

You can link your worksheets. Open your workbooks and type the cell reference of the item that you want to appear from the original workbook into the cell that you wish it to appear in the other workbooks. Save them. Then have a play!

I know that the guys who check into this facility do a fantastic job. If this is no good, then one of the more skilled excellers will be able to help.
hope it helps :)
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,803
Members
449,048
Latest member
greyangel23

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