Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

5
“Worksheets” property not working?
Post Body

VBA newbie here but I’m working on my first project.

For some reason the line:

Worksheets(“sheet1”).Range(“C7:C20”).select

Isn’t working. I get a run-time error saying subscript out of range.

Meanwhile if I change it to:

Sheet1.Range(“C7:C20”).select

It works fine.

Am I misunderstanding something? I randomly tried the sheet1 method whereas Wise Owl tutorials have taught me to use worksheets(“sheet1”), but that isn’t working.

Any help is much appreciated!

Author
Account Strength
90%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,742
Link Karma
937
Comment Karma
805
Profile updated: 21 hours ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago