Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
How to extend spreadsheet as needed, not in advance
Figuring out how to word this question is probably harder than the question
itself. OK, I have a spreadsheet that will probably be used for years so it can get longer and longer as time goes on. On the left, is a column of reference numbers, say 001 to infinity. If I pre-number the column and print, it thinks that the worksheet is upteen pages and prints pages with just the reference numbers and no data yet filled in the rest of the rows. Even if I remove the reference numbers, it will still print because I have borders around the empty cells. So I guess what I'm asking is..is there a way that when a user opens the file that only a row or two will be formatted for entry, with the next reference number and bordered cells? Or perhaps something that the user can click that would be the equivilent of a "new entry" button? I really hope someone understands this. Thanks |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
How to extend spreadsheet as needed, not in advance
Try this Workbook_open macro:
Private Sub Workbook_Open() noofrows = Columns("A:A").End(xlDown).Row Range("A" & noofrows).Copy Destination:=Range("A" & noofrows + 1) Range("A" & noofrows + 1).Value = Range("A" & noofrows) + 1 Range("B" & noofrows + 1).Select End Sub Regards, Stefi €žEdward€ť ezt Ă*rta: Figuring out how to word this question is probably harder than the question itself. OK, I have a spreadsheet that will probably be used for years so it can get longer and longer as time goes on. On the left, is a column of reference numbers, say 001 to infinity. If I pre-number the column and print, it thinks that the worksheet is upteen pages and prints pages with just the reference numbers and no data yet filled in the rest of the rows. Even if I remove the reference numbers, it will still print because I have borders around the empty cells. So I guess what I'm asking is..is there a way that when a user opens the file that only a row or two will be formatted for entry, with the next reference number and bordered cells? Or perhaps something that the user can click that would be the equivilent of a "new entry" button? I really hope someone understands this. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help w/ spreadsheet needed | Excel Discussion (Misc queries) | |||
External reference to spreadsheet names (tabs) help needed. | Excel Discussion (Misc queries) | |||
Spreadsheet needed for on-line tranactions | Excel Discussion (Misc queries) | |||
night club operating cost spreadsheet needed | Excel Discussion (Misc queries) | |||
Extend formulas | Excel Discussion (Misc queries) |