ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   automatically update a number in cell when template opens (https://www.excelbanter.com/excel-discussion-misc-queries/57953-automatically-update-number-cell-when-template-opens.html)

Trampas

automatically update a number in cell when template opens
 
I have just completed an invoice template for a new business, all works fine
but I am trying to insert a function which will automatically update a cell
number related to 'Invoice Number' each time I open the template so that I do
not have to keep trying to remember or search for the number of the last
invoice produced. Can this be done?

Gary''s Student

automatically update a number in cell when template opens
 
If your invoice number is in A1, for example, you could write a event macro
that updates the number each time the workbook is opened.

See

http://www.mvps.org/dmcritchie/excel/event.htm#wb_open
--
Gary''s Student


"Trampas" wrote:

I have just completed an invoice template for a new business, all works fine
but I am trying to insert a function which will automatically update a cell
number related to 'Invoice Number' each time I open the template so that I do
not have to keep trying to remember or search for the number of the last
invoice produced. Can this be done?



All times are GMT +1. The time now is 07:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com