Hi Dim LastRow as double LastRow = .Cells(Rows.Count, "C").End(xlUp).Row LastRow = LastRow +1 This count colum "C" change to the colum you want
Regards Yngve -----Opprinnelig melding----- Fra: excel-macros@googlegroups.com [mailto:excel-mac...@googlegroups.com] På vegne av iwasinnihon Sendt: 4. mars 2009 16:39 Til: MS EXCEL AND VBA MACROS Emne: $$Excel-Macros$$ Find next available row I am writing a macro and would like to have it find the next available row on a sheet, enter the date, do a vlookup, and enter a running sum. I can do everything except find the next available row. How would I do this? No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.7/1983 - Release Date: 03/04/09 07:41:00 --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---