Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Save without prompt and Activate a file

1. How to save a workheet to a same text file without prompted by replace or
not ?
( ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\lem83mk.MALAYSIA\My Documents\dummy2.txt", _
FileFormat:=xlText, CreateBackup:=False ) . I want the file is saved
automatically when macro is run without promted to be replaced or not.

2. I would like to run a macro that can activate ( double-click ) a batch
file in the directory ( C:\abc.bat ). Can this be done in the VBA macro ?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Save without prompt and Activate a file

See either of your other two posts for responses

---
Regards,
Norman



"mok707" wrote in message
...
1. How to save a workheet to a same text file without prompted by replace

or
not ?
( ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\lem83mk.MALAYSIA\My Documents\dummy2.txt",

_
FileFormat:=xlText, CreateBackup:=False ) . I want the file is saved
automatically when macro is run without promted to be replaced or not.

2. I would like to run a macro that can activate ( double-click ) a batch
file in the directory ( C:\abc.bat ). Can this be done in the VBA macro ?



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
Turning off prompt to save file with no changes opieandy Excel Discussion (Misc queries) 5 May 23rd 07 10:51 PM
Prompt to save file Gloria Setting up and Configuration of Excel 2 May 4th 06 01:09 AM
save prompt for user exit, but no save prompt for batch import? lpj Excel Discussion (Misc queries) 1 February 25th 06 02:08 AM
Prompt for Save when closing a file J. Kerr Excel Discussion (Misc queries) 0 October 5th 05 09:09 PM
Prompt user to save their file Sharon[_5_] Excel Programming 4 September 29th 03 09:44 PM


All times are GMT +1. The time now is 01:02 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"