Run-time error 424

TheWildAfrican

Board Regular
Joined
Apr 23, 2013
Messages
70

Dear All:

I get the referenced error "Run-time error 424" every time my code gets to the line below:

Code:

If (ActiveCell.Offset(i, 5).Value = "FX Fee") And (Active.Offset(i, 0).Value = ActiveCell.Offset(i - 1, 0)) Then
ActiveCell.Offset(i, 4).Value = ActiveCell.Offset(i, 3).Value - ActiveCell.Offset(i - 1, 3).Value
Else
ActiveCell.Offset(i, 4).Value = ActiveCell.Offset(i - 1, 4).Value
End If


I researched "error 424" on Microsoft site without any luck.

Any help or advice would be greatly appreciated.

Danke,

TWA
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

sunny102

Board Regular
Joined
Dec 19, 2016
Messages
102
Can you please share your complete code?

I'm online and able to respond in real time to you until it's solved.
 
Upvote 0

ukmikeb

Well-known Member
Joined
Jul 10, 2009
Messages
2,757
Perhaps changing this section :-
Code:
[COLOR=#333333]Active.Offset(i, 0).Value[/COLOR]
to :-
Code:
[COLOR=#333333]ActiveCell.Offset(i, 0).Value[/COLOR]

hth
 
Upvote 0

TheWildAfrican

Board Regular
Joined
Apr 23, 2013
Messages
70
Dear Mikeb,

Thanks man!! I've been looking at it for 3 hours.....I couldn't believe I didn't complete typing "ActiveCell"....Thanks for pointing this error to me....

PEACE!!

TWA
 
Upvote 0

Forum statistics

Threads
1,191,708
Messages
5,988,232
Members
440,139
Latest member
ngaicuong2017

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