Building an address

  • Thread starter Thread starter geofferrington
  • Start date Start date
G

geofferrington

I have a statement that reads:

Set s = Worksheets("Home")

In order to not have to hard code the word "Home" in this statement,
I have placed it on a sheet called "Notes" in position D30.

How do I modify the above statement so that it automatically loads the
word in that position?

I imagine that it will look something like:

Set s = Worksheets(Sheets("Notes").Range("D30"))

Thanks in advance
Geoff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top