LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Help with my coding problem?

Hi again Dan,

Very little works while the macro is interrupted on the stop code. It simply
allows you to hover the mouse pointer over variables to confirm their
contents. I should have told you that you need to press F5 to continue after
the stop.

Were you able to confirm the contents of parm1 and also your current path
because I still suspect that this is the problem.

As a little extra info, the On Error Resume Next is there in case the file
cannot be opened. You should cancel it after it has done it's job like this:-

On Error Resume Next
Documents.Open FileName:=parm1
On Error GoTo 0 'Cancels the previous On Error Resume Next

If you do not cancel it then you are going to miss real errors in your code.
It will simply skip past them.


Regards,

OssieMac


 
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 fix the coding? Eric Excel Worksheet Functions 4 June 20th 07 02:42 PM
coding maisy1 Excel Discussion (Misc queries) 1 August 6th 06 08:58 PM
Coding metaltecks Excel Discussion (Misc queries) 1 April 17th 06 10:12 PM
First attempt at VBA coding problem Rick in NS New Users to Excel 9 January 12th 06 05:11 PM
coding Hardy Excel Discussion (Misc queries) 1 February 22nd 05 04:58 PM


All times are GMT +1. The time now is 05:04 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"