Re: Open a log file
From: Chip Pearson (chip_at_cpearson.com)
Date: 04/11/04
- Next message: PaulC: "Excel VBA - Excel crashes when macro button re-assigned problem"
- Previous message: Bob Flanagan: "Re: Use of Command Buttons to Move Through Worksheets"
- In reply to: Jim: "Open a log file"
- Next in thread: Tom Ogilvy: "Re: Open a log file"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 11 Apr 2004 09:47:51 -0500
Jim,
Try using the Shell command to open Notepad.
Shell "notepad.exe c:\temp\test.log", vbNormalFocus
-- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Jim" <anonymous@discussions.microsoft.com> wrote in message news:D54ED22A-021E-46E8-88C4-2AE11738B747@microsoft.com... > I have a script that runs with in side of excel. If there are errors it writes them to a a text file that is named file.log. I want to open this log file at the end of the script but I can't seem to get it to work. Any help would be great thanks >
- Next message: PaulC: "Excel VBA - Excel crashes when macro button re-assigned problem"
- Previous message: Bob Flanagan: "Re: Use of Command Buttons to Move Through Worksheets"
- In reply to: Jim: "Open a log file"
- Next in thread: Tom Ogilvy: "Re: Open a log file"
- Messages sorted by: [ date ] [ thread ]