Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Block save file prompt in imported txt file?

I have a macro that imports a txt file into Excel (it's a log file
another macro appends to) for the user to view upon clicking the "View
Log" button I made.

Problem is I need to remove the Save dialog box that comes up if the
user accidentally makes a change to the workbook. In the past users
have made changes to the log, went to close then clicked on Yes and
when that happens, formatting is lost and the log file goofed up.

I've tried workbook.saved = true, enableevents = false, displayalerts =
false and none work on this workbook that's created from importing the
text file.

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 do I block users to save the excel file if conditions not met Jonathan Excel Discussion (Misc queries) 1 August 18th 09 07:36 AM
Prompt to save file Gloria Setting up and Configuration of Excel 2 May 4th 06 01:09 AM
How to block file Save (^S)? G Lykos Excel Programming 11 October 24th 05 04:52 AM
Prompt for Save when closing a file J. Kerr Excel Discussion (Misc queries) 0 October 5th 05 09:09 PM
Save file -prompt Scott Excel Programming 1 March 22nd 05 05:25 PM


All times are GMT +1. The time now is 10:57 AM.

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"