Re: Unquote a variable
Re: Unquote a variable
- Subject: Re: Unquote a variable
- From: Michael Ghilissen <email@hidden>
- Date: Sun, 2 Oct 2005 14:13:37 -0400
Bob,
I sense that you are struggling. Here is the relief. Download these
documents, probably too heavy and too detailed, but at least they
exist:
http://www.microsoft.com/mac/resources/resources.aspx?pid=asforoffice
Choose the excel one.
In your case, you have to use this linguo:
set the value of <cell> to <variable>:
set value of cell "A1" to "TRUE"
or set value of cell 6 of column 1 of active sheet to 10
or select range "A1:C5" ; set value of selection to "XYZ"
Hope this helps,
Michael Ghilissen
On Oct 2, 2005, at 12:55 PM, Robert Poland wrote:
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:
email@hidden
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:
This email sent to email@hidden