Unquote a variable
Unquote a variable
- Subject: Unquote a variable
- From: Robert Poland <email@hidden>
- Date: Sun, 2 Oct 2005 10:55:13 -0600
Hi,
I have created a large text variable with CR's
and Tab's included that I wish to paste into an
Excel (X) spreadsheet. Excel won't accept the
Quoted form and I can't seem to figure out how to
remove the quotes.
Looks like even if I get past that Excel can't deal with copy/paste.
End goal; paste data into new spreadsheet. Some
of the code (and errors) attempts below.
set outputData to "lkgaeroodigfdjlcvodfoifvov"
tell application "Microsoft Excel"
Activate
delay 1
«event misccopy» outputData -- copy outputData gets rewritten
copy outputData to Clipboard --
can't set clipboard to
"lkgaeroodigfdjlcvodfoifvov"
Select Worksheet "Sheet2"
Clear Cell "R1C1:R100C100"
Select Cell "R1C1"
CopyObject outputData --
Microsoft Excel got an error
"lkgaeroodigfdjlcvodfoifvov" Doesn't understand
the CopyObject message.
Paste outputData
end tell
I hope this isn't another thing that Excel X can't do.
Tia,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden