Method "range of object_global _failed

larrygreg

New Member
Joined
Dec 27, 2011
Messages
46
I have some simple code

Range("B" & Start & ":S" & end).copy

I am getting the 1004 error. I dont understand why? If I substitute Numbers instead of the variables it work. Am I missing something.

Thanks,

Regards,

Larry
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,351
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
What are the actual values of Start and end when the error occurs?
 
Upvote 0

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,351
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Are you certain of that, or just assuming it? Can you post the full code?
 
Upvote 0

Forum statistics

Threads
1,190,637
Messages
5,982,055
Members
439,752
Latest member
jscratch

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
Top