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.

How to reset a table

I like this puzzle game.

In each cell of this square there is a pop-up menu with three possibilities: the two X and O symbols and empty.

My question is: is it possible, after the game, to bring back all the cells with a script or with an empty formula?

iMac 24″, macOS 15.1

Posted on Nov 27, 2024 2:08 AM

Reply
3 replies

Nov 27, 2024 1:51 PM in response to Dubbia

Bring the cells back to what, exactly?


If you want to clear all the values, there's no one-button that will do that without disrupting the pop-ups, but it can be done via an AppleScript.


Paste this into a new Script Editor document and click Run. It will clear all the values of the first table in the current document.


tell application "Numbers"
	set value of every cell of table 1 of sheet 1 of document 1 to ""
end tell

How to reset a table

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