Re: paste special problem
Re: paste special problem
- Subject: Re: paste special problem
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 22 Mar 2002 09:41:49 -0800
On 3/22/02 9:31 AM, I wrote:
>
If that still appears as formatted text, come back. Or try this:
>
>
set myobText to the clipboard as string
>
set styledReco to myobText as record
>
set plainText to <<class ktxt>> of styledReco
>
>
tell application "Microsoft Excel"
>
Activate
>
set Value of ActiveCell to myobText
>
end tell
>
>
>
But instead of << and >>, type option-\ (option backslash) and
>
option-shift-\ (option shift backslash) to get chevrons (this list server
>
will mangle it if I do it here).
>
>
That will do it for sure, but the simple version probably will too.
>
A bad day. Sorry. The last line of that version, before 'end tell', should
read
set Value of ActiveCell to plainText
Sorry for not catching this before I sent it off.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.