In the code sample below, I am trying to open and display the contents of a notebook named “StereographicProjection” from within an open notebook with both notebooks being in the same directory. My thinking is that with the exact same code in an existing notebook, I should be able to access that information without needing to duplicate or copy it into another notebook.
The working directory may not be the same directory as the notebook directory for the notebook in which you’re running the code. Use Directory[] to find out where your working directory is. Also, if SterographicProjection is a notebook, then it likely has the .nb extension, and NotebookOpen expects a full filename, including the extension. You could change your working directory, but personally I find it simpler to just create the file path: