ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   dynamic Range in ADO (https://www.excelbanter.com/excel-programming/392073-dynamic-range-ado.html)

Frank Situmorang

dynamic Range in ADO
 
Dear experts:

This is my VBA I learned from Ron de Bruin's website
'Get the cell values and copy it in the destrange
'Change the Sheet name and range as you like
GetData FName(N), "PO New (2)", "A1:C1", destrange, False, False
How can I cnange the range( A1:C1 ) to dynamic range since the data in other
files could change, so I want to always update the combined data.

Many thanks,

Frank



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

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