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 notepad in excel

Look at the shell command

Shell ("Notepad.exe C:\myfolder\mytextfile.txt")

Regards,
Tom Ogilvy


"Mohan" wrote in message
...

Hi

I have a userform with few buttons on it.
Does anyone know how to launch notepad and display
infomation from different text file in notepad (launch
notepad and diplay info when these buttons are clicked on
the userform). Text boxes are not working because the
info in the text file is too large to be displayed in
textboxes.

any help appreciated.
Thanks