CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 1999
    Posts
    8

    Sending Data to Excell

    Hello

    I have a programme that creates a notepad document, how do I send the contents of log.txt
    to open in MS Excel. I don't want to see log.txt at all.

    thanks in advance
    V


  2. #2
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: Sending Data to Excell

    Try:

    Shell Chr(34) & "C:\Program Files\Miscrosoft Office\Office\Excel.exe" & Chr(34) & " C:\Log.txt", vbNormalFocus

    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

  3. #3
    Join Date
    Dec 1999
    Posts
    8

    Re: Sending Data to Excell

    Thank you


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured