LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
Len Len is offline
external usenet poster
 
Posts: 162
Default Error Handle problem

Hi Paul,

Thanks for your advice

After I worked around to debug the codes, there was an error that
there is no cells to copy if no cells were found but it still not able
to skip the line of codes and remains at
"result.SpecialCells(xlCellTypeVisible).Copy"

Then I tried to separate the codes which contains "On Error GoTo
NextProcess " and "On Error Resume Next " into different sub
procedures, it works perfectly.

Does it mean that the codes can not have both "On Error GoTo
NextProcess " and "On Error Resume Next " within the same sub
procedure ?

Regards
Len




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to handle automation error? RB Smissaert Excel Programming 2 February 27th 06 12:56 AM
Best way to handle this problem Sandy Excel Programming 6 October 30th 05 11:34 PM
Error Handle PR[_3_] Excel Programming 3 August 10th 05 10:49 PM
How to handle error 8007000e Memory Error L. A. M. Excel Programming 6 June 28th 05 04:05 AM


All times are GMT +1. The time now is 05:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"