ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Value of the next row (https://www.excelbanter.com/excel-discussion-misc-queries/68461-value-next-row.html)

SusieQ

Value of the next row
 

Hi,

Is there any way to use VBA to return the value of the next row?

Thanks


--
SusieQ
------------------------------------------------------------------------
SusieQ's Profile: http://www.excelforum.com/member.php...o&userid=30818
View this thread: http://www.excelforum.com/showthread...hreadid=506801


Ron de Bruin

Value of the next row
 
Hi

This will give you the value of the Cell in B in the next row

MsgBox Cells(ActiveCell.Row + 1, "B").Value



--
Regards Ron de Bruin
http://www.rondebruin.nl


"SusieQ" wrote in message
...

Hi,

Is there any way to use VBA to return the value of the next row?

Thanks


--
SusieQ
------------------------------------------------------------------------
SusieQ's Profile: http://www.excelforum.com/member.php...o&userid=30818
View this thread: http://www.excelforum.com/showthread...hreadid=506801





All times are GMT +1. The time now is 08:37 AM.

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