• 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
"convert to table" in Word 365 under Catalina
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"convert to table" in Word 365 under Catalina


  • Subject: "convert to table" in Word 365 under Catalina
  • From: Jeremy Roussak via AppleScript-Users <email@hidden>
  • Date: Tue, 28 Jul 2020 21:10:59 +0200

For many years, I’ve had a script which converts selected text in Word to a
table, using tab delimiters (and then fiddles with the table layout). It has
worked just fine:

        set tTable to convert to table selection's text object separator tab

It works for Word 365 under Mojave. Under Catalina, however, it ignores the tab
separators and creates a table with only one column.

According to Word’s dictionary, the correct command should be

        set tTable to convert to table selection's text object separator
separate by tabs

but if I use that, with exactly the same selection in Word, I get the message

        “Microsoft Word got an error: text object of selection doesn’t
understand the “convert to table” message.”

How do I script converting a tab-delimited set of paragraphs in Word into a
table? Any ideas gratefully received.

Jeremy
 _______________________________________________
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

  • Follow-Ups:
    • Re: "convert to table" in Word 365 under Catalina
      • From: Jeremy Roussak via AppleScript-Users <email@hidden>
  • Prev by Date: [ANN]Kamenoko v1.1
  • Next by Date: Re: "convert to table" in Word 365 under Catalina
  • Previous by thread: [ANN]Kamenoko v1.1
  • Next by thread: Re: "convert to table" in Word 365 under Catalina
  • Index(es):
    • Date
    • Thread