forms

David_UK

Active Member
Joined
Mar 18, 2003
Messages
299
I have a shared workbook on a shared drive it consists of four worksheets.

They are designed purely for recording daly cash figures i.e.

Account name Acct No. Chq # Amount Invoice numbers

I wish to create possibly using a form or VBA, a request box to appear when the sheet is opened asking for the account number and then search all sheets for the number and then either going to that cell or displaying account not found?

Any help would be great, thanks.

David. :confused:
 
I have entered the program and it runs ok, only when I run the macro tho, I was hoping that when the sheet is opened, the box displays prompting the user to enter the account number. Can you help I have included the last report entered.
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Do you want to run it when the workbook is open or when a specific worksheet is open?

As far as VB references go, the way I learned is by viewing the recorded macro code, looking at what other people have written, and one VB book (Excel 2000 VBA by John Green published by Wrox).
 
Upvote 0

Forum statistics

Threads
1,221,695
Messages
6,161,360
Members
451,699
Latest member
sfairbro

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