Error: 1004: Application-defined or object-defined error

Nlreid

New Member
Joined
Jul 21, 2010
Messages
7
Hi,

This error pops up at the blue part I believe. Any idea why this is happening? Thanks!


Wend
Refresh_Click_Exit:
Exit Sub
Refresh_Click_Err:
MsgBox "Refresh_Click Error: " & Err.Number & ": " & Err.Description
Resume Refresh_Click_Exit
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Hi,

This error pops up at the blue part I believe. Any idea why this is happening? Thanks!


Wend
Refresh_Click_Exit:
Exit Sub
Refresh_Click_Err:
MsgBox "Refresh_Click Error: " & Err.Number & ": " & Err.Description
Resume Refresh_Click_Exit
I doubt that. Can you post the rest of your code please?
 

Ruddles

Well-known Member
Joined
Aug 24, 2010
Messages
5,773
Ten bob says there's a line somewhere near the top of the macro which reads: On Error GoTo Refresh_Click_Err.

Any takers? ;)
 

Forum statistics

Threads
1,085,542
Messages
5,384,321
Members
401,887
Latest member
Somesh

Some videos you may like

This Week's Hot Topics

Top