Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JHB JHB is offline
external usenet poster
 
Posts: 30
Default Problem with Kill Syntax!

I am using excel 2000, and have run into a problem with the kill
process.

I have a path and file name that is constructed by concatenating a
number of fields. The intent is to use this constructed path and file
name to open a spreadsheet, copy selected parts of it, close it and
then kill it.

The opening process works just fine, and I can transfer the data and
close it BUT when I come to killing it it just does not seem to work.
I know its accurate because the other functions are successful.


I have the file and path name called TRUEFILE, and have tried all the
following:

Kill TRUFILE
KillFile TRUEFILE
KillFile=TRUFILE
KillFile=(TRUEFILE)

and none of them have the desired effect. Help please with this simple
one!

Thanks

John Baker
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Problem with Kill Syntax!

Hi John,

Am Fri, 31 Aug 2012 13:23:11 -0700 (PDT) schrieb JHB:

I have the file and path name called TRUEFILE, and have tried all the
following:

Kill TRUFILE
KillFile TRUEFILE
KillFile=TRUFILE
KillFile=(TRUEFILE)


try:
Kill (TRUEFILE)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
Reply
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 to kill the zipped files in C:\Document and Settings\LogginName\Temp\ using code for this strange Problem Yuvraj Excel Discussion (Misc queries) 2 May 2nd 09 06:52 PM
Do Until syntax problem excelnut1954 Excel Programming 5 October 21st 06 12:50 AM
Kill Syntax Jim Thomlinson Excel Programming 0 June 1st 06 05:06 PM
Kill Syntax Ronbo Excel Programming 0 June 1st 06 04:59 PM
Kill Syntax and path Joe User[_3_] Excel Programming 3 July 30th 04 09:02 PM


All times are GMT +1. The time now is 03:14 PM.

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

About Us

"It's about Microsoft Excel"