Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Applescript troubleshooting
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="TSMIIINOLA" data-source="post: 1265032" data-attributes="member: 207639"><p>set theFiles to choose file with multiple selections allowed</p><p>set theCount to number of items in theFiles</p><p>repeat with i from 1 to theCount</p><p> tell application "Microsoft Excel"</p><p> set theCells to value of range "a1<img src="/images/smilies/angel.gif" class="smilie" loading="lazy" alt=":a" title="Angel :a" data-shortname=":a" />71" of active sheet</p><p> end tell</p><p> repeat with onecell in theCells</p><p> </p><p> tell application "Finder"</p><p> </p><p></p><p> set name of file (item i of theFiles) to (item 1 of onecell)</p><p> </p><p> end tell</p><p> end repeat</p><p>end repeat</p></blockquote><p></p>
[QUOTE="TSMIIINOLA, post: 1265032, member: 207639"] set theFiles to choose file with multiple selections allowed set theCount to number of items in theFiles repeat with i from 1 to theCount tell application "Microsoft Excel" set theCells to value of range "a1:a71" of active sheet end tell repeat with onecell in theCells tell application "Finder" set name of file (item i of theFiles) to (item 1 of onecell) end tell end repeat end repeat [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Applescript troubleshooting
Top