View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Question: loading a file into a Object?

Look at excel vba help on the shell command.

--
Regards,
Tom Ogilvy


"Michael Vaughan" wrote in message
. ..
Hello Everyone,

I inserted an object into my Excel workbook. It will boot up my

NOTEPAD.EXE
program. Is there a way to execute it and have it automatically load a

file
name into Notepad??? I want to execute notepad, and then automatically

load
a .bat file into it so that I can edit it.

Hope you can help... Michael