Hi,
I think this should be simple, but I'm falling at the first hurdle.
I want a script to convert Word's current selection, which is a series of lines of text with cells delimited by tabs, into a table; I'll then apply some formatting. I've tried
tell application "Microsoft Word"
set txt to selection's text object
convert to table txt
end tell
which works, but ignores the tabs (I get a table with only one column). If I try
tell application "Microsoft Word"
set txt to selection's text object
convert to table txt separator separate by tabs
end tell
which I think should work, I get an error: "text object of selection doesn't understand the convert to table message".
Any ideas?
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