ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can I set a spreadsheet to sequentially number the sheet? (https://www.excelbanter.com/excel-discussion-misc-queries/240264-can-i-set-spreadsheet-sequentially-number-sheet.html)

CLAYSHELLY

Can I set a spreadsheet to sequentially number the sheet?
 
I NEED TO CREATE A SPREADHSEET TEMPLATE AND PLACE A NUMBER ON THE SHEET,
ENTER DATA AND CLOSE/SAVE THE SHEET, THEN OPEN THE TEMPLATE AGAIN AND HAVE IT
AUTOMATICALLY OPEN WITH THE NEXT SEQUENTIAL NUMBER.


T. Valko

Can I set a spreadsheet to sequentially number the sheet?
 
See this:

http://mcgimpsey.com/excel/udfs/sequentialnums.html

--
Biff
Microsoft Excel MVP


"CLAYSHELLY" wrote in message
...
I NEED TO CREATE A SPREADHSEET TEMPLATE AND PLACE A NUMBER ON THE SHEET,
ENTER DATA AND CLOSE/SAVE THE SHEET, THEN OPEN THE TEMPLATE AGAIN AND HAVE
IT
AUTOMATICALLY OPEN WITH THE NEXT SEQUENTIAL NUMBER.




Jacob Skaria

Can I set a spreadsheet to sequentially number the sheet?
 
From the template; launch VBE using Alt+F11. From the left treeview search
for the VBA project for this template workbook and click + to expand the
modules..Double click on 'This Workbook' and paste the below code....Adjust
sheetname and cell A1 to suit your requirement...now save and close..

Private Sub Workbook_Open()
Sheets("Sheet1").Range("A1") = Sheets("Sheet1").Range("A1") + 1
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"CLAYSHELLY" wrote:

I NEED TO CREATE A SPREADHSEET TEMPLATE AND PLACE A NUMBER ON THE SHEET,
ENTER DATA AND CLOSE/SAVE THE SHEET, THEN OPEN THE TEMPLATE AGAIN AND HAVE IT
AUTOMATICALLY OPEN WITH THE NEXT SEQUENTIAL NUMBER.


Eduardo

Can I set a spreadsheet to sequentially number the sheet?
 
Hi,
look into McGimpsey web

http://www.mcgimpsey.com/excel/udfs/sequentialnums.html

if this helps please click yes, thanks

"CLAYSHELLY" wrote:

I NEED TO CREATE A SPREADHSEET TEMPLATE AND PLACE A NUMBER ON THE SHEET,
ENTER DATA AND CLOSE/SAVE THE SHEET, THEN OPEN THE TEMPLATE AGAIN AND HAVE IT
AUTOMATICALLY OPEN WITH THE NEXT SEQUENTIAL NUMBER.



All times are GMT +1. The time now is 12:48 AM.

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