runtime error '1004 'Range of object _Global failed

InfinityBeyond

New Member
Joined
Sep 22, 2014
Messages
4
Hi
all of a sudden i am getting this error "runtime error '1004 'Range of object _Global failed".
earlier this used be working fine, dont know what happend as i am new to VBA.

when i debug this i am getting this error at the following code

Range(rcout & outcolml & 1) = Range("'heads'!" & outcolml & 1)

Can someone kindly help me out. thanks
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
What are the values of rcout and outcolml when the error occurs?
 
Upvote 0
Is that definitely what it is in your code when you assign the "A" value to it?
 
Upvote 0

Forum statistics

Threads
1,196,081
Messages
6,013,318
Members
441,760
Latest member
Sharina

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