If there are no blanks
lastCol = .Range("A1").End(xlToRight).Column
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
"saziz" wrote in
message ...
Hi all,
I was wondering what the syntax would be for last column.
Like I have for lastRow:
lastRow = .Range("B" & Rows.count).End(xlUp).Row
I need something similar for looking an first empty col. to the right.
Pleae help.
Thank you
Syed
--
saziz
------------------------------------------------------------------------
saziz's Profile:
http://www.excelforum.com/member.php...fo&userid=6350
View this thread: http://www.excelforum.com/showthread...hreadid=494676