Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2007

Tip: Looking for answers? Try searching our database.

How to extend spreadsheet as needed, not in advance

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Edward - 28 Sep 2007 13:13 GMT
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
Stefi - 28 Sep 2007 13:47 GMT
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.
[quoted text clipped - 17 lines]
>
> Thanks

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.