How to choose an already opened Numbers document for processing.

I’m wanting AppleScript to choose one of my already opened Numbers documents for processing. But I don’t see how create the list from which to make the choice.

Should i start with something like

tell application “Numbers”
set d to {}
set d to every document
end tell

Hoping someone can point me in the right direction.

This works if you don’t have multiple documents with the same name open at the same time.

tell application "Numbers"
	set allDocNames to name of every document
	set chosenDocName to item 1 of (choose from list allDocNames)
	set chosenDocRef to the 1st document whose name is chosenDocName
end tell

Just what I need. Wish I’d posted sooner!
The 3rd set statement is what eluded me.
Thank you very much for your help.