If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Show a text file in Notepad from VBA on Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-07, 16:32
peev31 peev31 is offline
Registered User
 
Join Date: Feb 2007
Posts: 2
Show a text file in Notepad from VBA on Excel

I use shell to open text file with Notepad. It works, but if I have already Notepad open on my computer it doesn’t’ show up. Probably I need to check if Notepad is open, then to close the Notepad with VBA code and then to run shell. All files are on the SharePoint.
Reply With Quote
  #2 (permalink)  
Old 02-16-07, 07:29
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
I can only suggest you look at API calls in VBA...
Not dabbled in them nearly enough to help just yet but I'll be interested in knowing the answer also.

http://www.mvps.org/access/api/index.html
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On