I am writing an outlook macro in Visual Basic 6 and I apparently can't make a shared function. I've createrd a class module in my project and when I write in it, for example, the single line
Private shared function hello()
I get a compilation error just after pressing "Enter" :
compilation Error :
Expected : identifier
What's wrong with the word "shared" ?