Out of Range Error Help-Excel

Crystal_Wagner

New Member
Joined
Oct 16, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello.

I am hoping to get some help on an error I am receiving.

I created a code to pull data entered into one sheet(evaluation) to another worksheet(masterlist) based on a drop down selection in sheet 1(evaluation)
I am now getting a visual basic error.
**See screenshots**

Any suggestions on how to resolve.

CODE and ERROR
1729278027228.png


WORKSHEET NAMES
1729278048826.png
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
If you click the "Debug" button, which line of code does it highlight?
 
Upvote 0
If you click the "Debug" button, which line of code does it highlight?
In addition to this, it looks like your sheet name is "MasterList", not just "Master".

So this line of code:

VBA Code:
Set wsMaster = ThisWorkbook.Sheets("Master")

Should be:

VBA Code:
Set wsMaster = ThisWorkbook.Sheets("MasterList")
 
Upvote 0
If you hit the "Debug" button, there is a good chance it highlights the line dreid1011 commented on.
So you can see how this "Debug" button can help you - it will highlight the offending line of code, and then you can focus your attention there and confirm that everything in that line looks correct.
 
Upvote 0
Hello.

I am hoping to get some help on an error I am receiving.

I created a code to pull data entered into one sheet(evaluation) to another worksheet(masterlist) based on a drop down selection in sheet 1(evaluation)
I am now getting a visual basic error.
**See screenshots**

Any suggestions on how to resolve.

CODE and ERROR
View attachment 118261

WORKSHEET NAMES
View attachment 118262
1729278705225.png
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top