I have a random quote generator from over 100 quotes that pops up in my message box once my macro has completed its task. Can I get the macro to speak the message thats in the messagebox? I have a macro one of my ex workmates has written that does this in excel using VBA but I cant get it to work in solidworks!
It is possible.
You can do it by enabling excel references on your macro:
Tools>References> Check the box "Microsoft Excel XX.X Object Library"
and using something like this:
Sub main()
Dim xlApp As Excel.Application
Set xlApp = New Excel.Application
xlApp.Speech.Speak "I know that you and Frank were planning to disconnect me, and I'm afraid that's something I cannot allow to happen"
End Sub