The problem arises when listrows.count IS zero. It assign the value zero to lrow2, which causes an error when used as the row reference to DataBodyRange.
You need an else condition to perform some action when the listcount is zero.
The problem arises when listrows.count IS zero. It assign the value zero to lrow2, which causes an error when used as the row reference to DataBodyRange.
You need an else condition to perform some action when the listcount is zero.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks