ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Address of a variables (https://www.excelbanter.com/excel-programming/317514-address-variables.html)

Steven Deng

Address of a variables
 
Hello there,

I am wondering if VBA have references (pointers) as in other programming
languages such as C++.


Sincerely,

Steven Deng



Rob van Gelder[_4_]

Address of a variables
 
There is the concept of passing variable to functions ByRef or ByVal.

Or for when calling API functions or using callbacks, investigate the
AddressOf operator.

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Steven Deng" wrote in message
news:hyfod.304541$%k.28514@pd7tw2no...
Hello there,

I am wondering if VBA have references (pointers) as in other programming
languages such as C++.


Sincerely,

Steven Deng






All times are GMT +1. The time now is 12:00 AM.

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