ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   compiler error in calling Exell functions (https://www.excelbanter.com/excel-programming/304672-compiler-error-calling-exell-functions.html)

Mehrdad hakimzadeh

compiler error in calling Exell functions
 
When I want to use ROW(), COLUMN()and ADDRESS() functions
in an Exell macro, I receive the message "Compiler error:
Sub or function not defined.".

Thanks

Frank Kabel

compiler error in calling Exell functions
 
Hi
if you're using the worksheetfunction object these worksheet functions
are not supported in VBA. Reason: There're VBA equivalents.

e.g.
with activecell
msgbox .row
msgbox .column
msgbox .address
end with

--
Regards
Frank Kabel
Frankfurt, Germany

"Mehrdad hakimzadeh" schrieb im Newsbeitrag
...
When I want to use ROW(), COLUMN()and ADDRESS() functions
in an Exell macro, I receive the message "Compiler error:
Sub or function not defined.".

Thanks




All times are GMT +1. The time now is 03:40 PM.

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