Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default checking for EOF in excel

Diana,

This will find the last used row number in column A.

Dim lrow As Long

lrow = Cells(Rows.COUNT, "A").End(xlUp).Row
MsgBox("The last row number is " & lrow)
--
sb
"Diana" wrote in message
...
I have a table in excel and I need to write a VB
procedure to check which row is the end one. Any
suggestions. I appreciate your help.
Diana



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell Checking with checking cell notes jfitzpat Excel Discussion (Misc queries) 0 August 8th 07 10:26 PM
Spell Checking an Excel Form akkrug New Users to Excel 1 October 27th 05 03:59 PM
Basic Error Checking in Excel VB RestlessAde Excel Discussion (Misc queries) 1 August 5th 05 08:31 AM
Excel keeps checking for a floppy... Gregory A. Wandless Excel Discussion (Misc queries) 12 June 7th 05 05:55 PM
VBA Excel Checking whether an XL file is already open elsewhere Kamal Hussain Excel Programming 2 August 19th 03 02:03 PM


All times are GMT +1. The time now is 10:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"