You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Applescript to Freeze certain Header Rows and Columns for open Numbers doc

Is there a way to write an AppleScript that I can run each time I open a Numbers file so that I can quickly freeze Header Row 1 and Header Column 3? I have to do this repeatedly, so I'd like a way to automate it. Thanks!

iMac (M1, 2021)

Posted on Aug 31, 2023 8:33 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 31, 2023 10:13 AM

You asked to freeze so these two additional commands should do the trick. I just noticed that when opening a CSV the headers are not automatically frozen.


tell application "Numbers"

tell table 1 of sheet 1 of front document

set header row count to 1

set header rows frozen to true

set header column count to 3

set header columns frozen to true

end tell

end tell

Similar questions

3 replies
Question marked as Top-ranking reply

Aug 31, 2023 10:13 AM in response to Recycleur

You asked to freeze so these two additional commands should do the trick. I just noticed that when opening a CSV the headers are not automatically frozen.


tell application "Numbers"

tell table 1 of sheet 1 of front document

set header row count to 1

set header rows frozen to true

set header column count to 3

set header columns frozen to true

end tell

end tell

Applescript to Freeze certain Header Rows and Columns for open Numbers doc

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.