Is there a way to pass a variable's value from another cell to NotebookB? For example,

----Cell1------------------------

john = 10

-----Cell2--------------------

%run path/to/NotebookB $VarA = john

submits "john" to NotebookB not the value of 10