LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
alainB
 
Posts: n/a
Default Is it possible to Shell and remove Excel from memory?


Hi,

Here is my code for sorting my phone database:

Sub Sort1()
Range("A1").Select
Selection.Sort Key1:=Range("A2"), _
Order1:=xlAscending, Key2:=Range("B2"), _
Order2:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:= _
False, Orientation:=xlTopToBottom

ActiveWorkbook.Save
SendKeys "%{F4}"
s$ = Shell("C:\Documents and Settings\Alain\Bureau\ _
MyDialer.exe", vbNormalFocus)
End Sub

After editing, sorting and saving my database, I want to run my Dialer.
It is working fine except that Excell stay in memory. I can see that on
the Task Manager.

Is there a way to remove it from memory after saving? I use Excel 97.

Thanks!

Alain


--
alainB
------------------------------------------------------------------------
alainB's Profile: http://www.excelforum.com/member.php...fo&userid=8367
View this thread: http://www.excelforum.com/showthread...hreadid=550622

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I unlock FILE access? rcmodelr Excel Discussion (Misc queries) 7 November 12th 05 09:55 PM


All times are GMT +1. The time now is 02:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"