Thread
:
last column of a row
View Single Post
#
5
Posted to microsoft.public.excel.programming
Don Guillett[_4_]
external usenet poster
Posts: 2,337
last column of a row
glad it helped
--
Don Guillett
SalesAid Software
"Nazrul" wrote in message
...
It works. Thanks Don.
"Don Guillett" wrote:
how about
cells(1, columns.count).end(xltoleft).column
--
Don Guillett
SalesAid Software
"Nazrul" wrote in message
...
I would like to know the last filled column of a row. I wrote this
lastCol
=
cells(1, columns.count) that returns 256. But I have only 101 columns
filled
with data. So I was expecting lastCol is equal to 101.
I am doing something wrong to find last filled column number. Can you
please
help me?
Nazrul
Reply With Quote
Don Guillett[_4_]
View Public Profile
Find all posts by Don Guillett[_4_]