Hello,
I want to use Morefunc within VBA, but I only get it to work within the Excel Interface.
Morefunc is (correctly?) installed, both Morefunc and Morefunc12 are checked at "Excel-Options>Add-Ins>Active Application Add-Ins" (I am not 100% sure whether this are the correct menue names because I had to translate into english).
Actually, I can use Morefunc within Excel. For example, writing "Filename()" into a random cell returns the workbook's name.
However, calling "Filename()" with VBA doesn't work:
Instead, I get Error 438: Object does not support this attribute or function
In other forums, using "strTest = FileName()" respectively "Application.Run(FileName)" is suggested but both return the error message "error during compilation: function or sub not defined"
So, I have two questions:
1) How do you call morefunc functions correctly in VBA? I assume there are several correct ways, but some confirmation would be good to eliminate one possible source of error
2) How can I check whether morefunc is correctly installed? (Since this is the only other source of error I can think of)
Thanks in advance!
I want to use Morefunc within VBA, but I only get it to work within the Excel Interface.
Morefunc is (correctly?) installed, both Morefunc and Morefunc12 are checked at "Excel-Options>Add-Ins>Active Application Add-Ins" (I am not 100% sure whether this are the correct menue names because I had to translate into english).
Actually, I can use Morefunc within Excel. For example, writing "Filename()" into a random cell returns the workbook's name.
However, calling "Filename()" with VBA doesn't work:
Code:
Dim strTest As String
strTest = Application.FileName
In other forums, using "strTest = FileName()" respectively "Application.Run(FileName)" is suggested but both return the error message "error during compilation: function or sub not defined"
So, I have two questions:
1) How do you call morefunc functions correctly in VBA? I assume there are several correct ways, but some confirmation would be good to eliminate one possible source of error
2) How can I check whether morefunc is correctly installed? (Since this is the only other source of error I can think of)
Thanks in advance!