To automatically create a variable number of worksheets, name them and the enter the same formula(s) in all of them

Chiwidan

New Member
Joined
Apr 19, 2020
Messages
15
Office Version
  1. 2010
Platform
  1. Windows
Hi experts,

First of all, my level of Vba knowledge is very basic.

This is what I would like to do:

A person completes a form with personal IDs and an Invoice Number associated to it.

It will be about 10 lines, but two or more people can have the same invoice number.

So, for example:


LineNameTotal to chargeInvoice #
1Donald Duck$234INV001
2Patricio Donald$345INV002
3Bilin Bilin Bilin (Tribilin)$45.70INV001
...

A person will manually enter the date for the Invoice # and in theory I could have between 1 and 10 different invoices.

I will need to:
- Create 1 worksheet for each invoice (please note that the number of invoices and therefore worksheets automatically created might be different each time)
- Name each worksheet according to the name of the invoice
- In each of the Invoice worksheets, create a table and formulas. The table and the formulas will be the same for each invoice worksheet.


Is there anyone able to get me a start point on this please?

Thank heaps
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I have also posted this in Ozgrid:



and in VbaExpress:

 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

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