Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How do you generate a PO number in an excel spreadsheet?
I have a purchase order form in excel that I want to automatically generate a purchase order number every time it is opened. Is this at all possible and if so how would I do it?
5 Answers
- Anonymous1 decade agoFavorite Answer
It is in macro (Did you heared of VBA?)
You will need to create the macro that will run at each start and adding new value to the old one.
It is something like this
Paste these lines in the ThisWorkbook object in your VBA window (Open excel, then press ALT+F11)
Private Sub Workbook_Open()
Starting
End Sub
Sub Starting()
Sheet1.Range("B1").Value = VAL(Sheet1.Range("B1").Value) +1
End Sub
Assuming that the cell B1 in sheet "Sheet1 is the cell with PO number
mail me for more info
Enjoy my profile, I am the VBAXLMan
- 6 years ago
This Site Might Help You.
RE:
How do you generate a PO number in an excel spreadsheet?
I have a purchase order form in excel that I want to automatically generate a purchase order number every time it is opened. Is this at all possible and if so how would I do it?
Source(s): generate po number excel spreadsheet: https://shortly.im/PfT4B - Anonymous5 years ago
OK, I looked (because you made me curious!) It's 65,536 Rows X 256 Columns. But I just read that the upcoming version of MS Office will have a greatly expanded Excel spreadsheet capability. Why would anyone heed 65,536 rows of data anyway? After all, you can always link worksheets and spreadsheets, if you have that much data to manage.
- PRSLv 61 decade ago
I know how to do this in access... don't know if excel can do it without using a macro. If you are familiar with macros see if you can write a macro to save the last PO number and then add 1 to it.
- How do you think about the answers? You can sign in to vote the answer.
- Anonymous1 decade ago
Enter ENC if the PO is encumbered and the encumbrance type is KETS. Otherwise this field must be blank.