• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AS + MS Word 2008 and vertical alignment in table cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS + MS Word 2008 and vertical alignment in table cells


  • Subject: Re: AS + MS Word 2008 and vertical alignment in table cells
  • From: Simon Topliss <email@hidden>
  • Date: Fri, 27 Feb 2009 15:37:58 +0000

Oops. Serves me right for not reading the full email :)

Anyway, this works for me in Word.

tell application "Microsoft Word"
set vertical alignment of cell 1 of row 1 of table 1 of document 1 to cell align vertical center
end tell


Script Debugger is the best AppleScript editor available. Period. Some consider it a bit pricey, but it depends on how much you value your time at. I use it about 50 hours a week, so to me, it's invaluable.

Download the 30-day demo and give it a try for yourself. http://www.latenightsw.com/sd4/index.html

Simon

On 27 Feb 2009, at 15:13, Pinus wrote:

This may works just fine with Excel but I was talking about tables in a Word 2008 document ;-)

Anyway, what is "Script Debuguer" ? (sorry, I'm a newbie in AS)

Thanks

Stephane.

Le 27 févr. 09 à 15:57, Simon Topliss a écrit :

Try:

set vertical alignment of cell "$A$1" of worksheet 1 to vertical alignment center

Simon

P.S. Working out these kind of problems with Script Debugger is really easy. I can't recommend it highly enough.


On 27 Feb 2009, at 14:21, Pinus wrote:

No, this one returns an error. But you're right, mCell11 contains a string.

I also tried "set vertical alignment of cell 1 of row 1 of table 2 of active document to align vertical center" but it has no effect as well...

looks like a bug ..


Le 27 févr. 09 à 15:09, KOENIG Yvan a écrit :


Le 27 févr. 2009 à 14:42:29, Pinus a écrit :

"set vertical alignment of mCell11 to align vertical center"

My guess is that mCell11 is a string so it may be usefull to edit as:


set vertical alignment of cell mCell11 to align vertical center

Yvan KOENIG (from FRANCE vendredi 27 février 2009 15:09:39)


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden )
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden )
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden )
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >AS + MS Word 2008 and vertical alignment in table cells (From: Pinus <email@hidden>)
 >Re: AS + MS Word 2008 and vertical alignment in table cells (From: KOENIG Yvan <email@hidden>)
 >Re: AS + MS Word 2008 and vertical alignment in table cells (From: Pinus <email@hidden>)
 >Re: AS + MS Word 2008 and vertical alignment in table cells (From: Simon Topliss <email@hidden>)
 >Re: AS + MS Word 2008 and vertical alignment in table cells (From: Pinus <email@hidden>)

  • Prev by Date: Re: using a shell variable in an osascript line?
  • Next by Date: Re: AS + MS Word 2008 and vertical alignment in table cells
  • Previous by thread: Re: AS + MS Word 2008 and vertical alignment in table cells
  • Next by thread: Re: AS + MS Word 2008 and vertical alignment in table cells
  • Index(es):
    • Date
    • Thread