Selection in VBA for Word for Mac 2011
Hello,
I'm currently learning VBA for word and I ran in something weird I don't mange to understand/solve: the "selection"word doesn't seem to be recognized in any macro I write, even the most simple one like
sub blabla()
selection.homekey unit:=wdstory
end sub
When I try and run it, I got the error message "error compile: expected function or variable" with the "selection" word being highlighted
I don't get what's going on there, if sb could help me with that, that would be much appreciated! :-)
Thanks!
|