VB Range Error

dpman

New Member
Joined
Sep 15, 2011
Messages
4
Good Afternoon,

I'm running a macro which is designed to populate one sheet using another and i am getting a:

"Method 'Range' of object '_Global' failed" Error

The error lies in the following code:

Range("CFaR_" & MA_rangenum(counter)).Value = MA_range

Any help would be greatly appreciated.

Many Thanks
Dpman
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Excel expects to find row and cell references between the red parentheses below [something like "A1" or "A1:B5"]:

Range("CFaR_" & MA_rangenum(counter)).Value = MA_range

Evidently your "CFaR_" & MA_rangenum(counter) does not resolve to a proper cell/range reference.
 
Upvote 0

Forum statistics

Threads
1,203,326
Messages
6,054,745
Members
444,748
Latest member
knowak87

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