help please

juanf619

New Member
Joined
Mar 24, 2009
Messages
1
i need a formula to save and clear in exel invoice and keep in incresing the invoice number

thanks for your help
 
Last edited:

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Re: help pleasr

no comprendo.

Formulas do not take actions like clearing and saving values elsewhere. Formulas can make a cell appear as if it is blank (example: =A1="") but that doesn't actually clear (make the cell without contents--it still has a formula). Formulas can also read the value of other cells, making it appear the value is being kept somewhere else, but in reality it is only resident in a single cell.

Visual Basic (VBA) as found in Excel can do that but you will need considerably more detailed specifications before you can start to do that.
 
Last edited:
Upvote 0
Re: help pleasr

Welcome to the Board!

You can start by recording a macro saving the workbook, then clearing out any cells you want emptied.

As for auto-incrementing the invoice #, you can use something like this:

Range("A1").Value = Range("A1").Value + 1

You can then add that to your other code.

Hope that helps,
 
Upvote 0

Forum statistics

Threads
1,203,461
Messages
6,055,561
Members
444,799
Latest member
CraigCrowhurst

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