Call function in another function

Helnora

New member
In the VBA compiler I call another function also inside the VBA compiler.
I do not get errors when compiling. I get the following error, but do not understand what is wrong.

Capture
 
I really do not know what is wrong.
This is the line:
sheettest = Application.testSheetName(WName)

testSheetName is another function that is also in the VBA compiler.
 
Then if this is a function already in the compiler just invoke it without Application.

sheettest = testSheetName(WName)

The compiler will recognize the function
 
Back
Top