Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2011, 12:38 PM
Arnold Arnold is offline Selection in VBA for Word for Mac 2011 Mac OS X Selection in VBA for Word for Mac 2011 Office for Mac 2011
Novice
Selection in VBA for Word for Mac 2011
 
Join Date: Aug 2011
Posts: 1
Arnold is on a distinguished road
Default 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!
Reply With Quote
Reply

Tags
mac os x, selection, vba in microsoft word

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selection in VBA for Word for Mac 2011 Document template import in Word 2011 Mac monrepos Word 1 05-09-2011 03:41 PM
Selection in VBA for Word for Mac 2011 Customer selection in Word Jackissimus Word 2 02-27-2011 12:56 PM
Selection in VBA for Word for Mac 2011 2011 Calendar in word Moni Word 1 01-25-2011 04:52 PM
Powerpoint 2011 Styles lawrencehare PowerPoint 4 12-08-2010 12:01 PM
Office 2011 for Mac liquidone Office 0 04-28-2010 08:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft