ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   find and paste (https://www.excelbanter.com/excel-programming/335455-re-find-paste.html)

TommySzalapski

find and paste
 

Dim iIndex as Integer

Index = 6

Do While Not Cells(iIndex, 2) = Empty

iIndex = iIndex +1

Loop

'when the loop exits Cells(iIndex, 2) will refer to the first blan
cel

--
TommySzalapsk
-----------------------------------------------------------------------
TommySzalapski's Profile: http://www.excelforum.com/member.php...fo&userid=2556
View this thread: http://www.excelforum.com/showthread.php?threadid=38993



All times are GMT +1. The time now is 09:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com