Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a list. I'd like to have a button that you click on that finds the next available new row so I can start typing new data. I want this to work on several sheets that each have lists so I can use this button on sheet 1, 2, or 3 it doesn't matter it will go to the end of the list. There is only one list per sheet. I can't figure out how to do it. Any help would be greatly appreciated. Thanks in Advance Janet |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
maybe something like this and assign it to a button on each sheet. this will
take youi to the bottom of column A Option Explicit Sub goto_last() Dim lastrow As Long Dim CurSheet As String CurSheet = ActiveSheet.Name lastrow = Worksheets(CurSheet).Cells(Rows.Count, "A").End(xlUp).Row Range("A" & lastrow + 1).Select End Sub -- Gary "Grd" wrote in message ... Hi, I have a list. I'd like to have a button that you click on that finds the next available new row so I can start typing new data. I want this to work on several sheets that each have lists so I can use this button on sheet 1, 2, or 3 it doesn't matter it will go to the end of the list. There is only one list per sheet. I can't figure out how to do it. Any help would be greatly appreciated. Thanks in Advance Janet |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
this would pronanly be better
Option Explicit Sub goto_last() Dim lastrow As Long Dim CurSheet As String CurSheet = ActiveSheet.Name lastrow = Worksheets(CurSheet).Cells(Rows.Count, "A").End(xlUp).Row Worksheets(CurSheet).Range("A" & lastrow + 1).Select End Sub -- Gary "Grd" wrote in message ... Hi, I have a list. I'd like to have a button that you click on that finds the next available new row so I can start typing new data. I want this to work on several sheets that each have lists so I can use this button on sheet 1, 2, or 3 it doesn't matter it will go to the end of the list. There is only one list per sheet. I can't figure out how to do it. Any help would be greatly appreciated. Thanks in Advance Janet |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
pronanly should be probably, one key off<g
-- Gary "Gary Keramidas" <GKeramidasATmsn.com wrote in message ... this would pronanly be better Option Explicit Sub goto_last() Dim lastrow As Long Dim CurSheet As String CurSheet = ActiveSheet.Name lastrow = Worksheets(CurSheet).Cells(Rows.Count, "A").End(xlUp).Row Worksheets(CurSheet).Range("A" & lastrow + 1).Select End Sub -- Gary "Grd" wrote in message ... Hi, I have a list. I'd like to have a button that you click on that finds the next available new row so I can start typing new data. I want this to work on several sheets that each have lists so I can use this button on sheet 1, 2, or 3 it doesn't matter it will go to the end of the list. There is only one list per sheet. I can't figure out how to do it. Any help would be greatly appreciated. Thanks in Advance Janet |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Works
Thanks very much "Gary Keramidas" wrote: this would pronanly be better Option Explicit Sub goto_last() Dim lastrow As Long Dim CurSheet As String CurSheet = ActiveSheet.Name lastrow = Worksheets(CurSheet).Cells(Rows.Count, "A").End(xlUp).Row Worksheets(CurSheet).Range("A" & lastrow + 1).Select End Sub -- Gary "Grd" wrote in message ... Hi, I have a list. I'd like to have a button that you click on that finds the next available new row so I can start typing new data. I want this to work on several sheets that each have lists so I can use this button on sheet 1, 2, or 3 it doesn't matter it will go to the end of the list. There is only one list per sheet. I can't figure out how to do it. Any help would be greatly appreciated. Thanks in Advance Janet |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data Labels- POssible to show data value and data label together? | Charts and Charting in Excel | |||
Increase Your Business By Data Conversion, Data Format and Data EntryServices in India | Excel Worksheet Functions | |||
Save 20% On Data Conversion and Data Formats Services by Data EntryIndia | Excel Discussion (Misc queries) | |||
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing | Excel Discussion (Misc queries) | |||
MULTIPLE DATA - How to insert new data into existing data.... | Excel Discussion (Misc queries) |