how to access the variable which is currently running in another worksheet

to use for loop to read the Table

when worksheet is evaluating for a very long time,

expect to read the value Table T in anther worksheet

worksheet1

for i from 1 to nops(polylistresult) do

if i < j then

for j from 1 to nops(polylistresult) do

for k from 1 to nops(polylistresult) do

if j < k then

with(Groebner):

F := [polylistresult[i], polylistresult[j], polylistresult[k]];

h := function1(F, {x, y, z}, s);

T[h] := [op(T[h]), F];

end if:

od:

end if:

od:

od:

worksheet2 :

for i in indices(T) do

oo:=i[1];

od: