Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default In excel macros remove by default message's of excel

Thanx it solved my problem .. Thanx a lot.

"Stefi" wrote:

The best way for this is to record a macro of clicking on the print button!
you will see something like this:

ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Regards,
Stefi

€žVijay Kotian€ť ezt Ă*rta:

Similarly, while giving print order every time i need to click on print
button but with your suggestion it is not working out .. can you please help
me with print through program without clicking every time on print button.

Regards
Vijay Kotian

"Stefi" wrote:

Perhaps these samples will help you:

Sub test1()
RequiredAction = True 'got from the program
If RequiredAction Then
ActiveWorkbook.Save
Else
ActiveWorkbook.Saved = True 'let the file be closed without saving
and alerting for save
End If
End Sub
Sub test2()
RequiredAction = True 'got from the program
If RequiredAction Then
Application.DisplayAlerts = False 'overwrites the file without
warning
ActiveWorkbook.Save
Application.DisplayAlerts = True
End If
End Sub

Regards,
Stefi

€žVijay Kotian€ť ezt Ă*rta:

In macros while saving or closing the file we are getting by default
messages from excel to €śsave the file€ť or €śfile already exist€ť etc How is it
possible to remove by providing €śYes€ť or €śNo€ť through program€¦ How is it
possible to do that?

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
remove default data path for sql queries excel 2003? F1rebird Setting up and Configuration of Excel 0 October 15th 07 02:01 PM
Remove all macros and objects in Excel, Save and Quit [email protected] Excel Programming 0 June 2nd 06 12:38 PM
How to remove excel macros still there after normal delete? James Excel Discussion (Misc queries) 1 April 20th 06 09:45 PM
Remove excel macros from a file to be sent Michel R Excel Programming 1 February 15th 06 02:31 PM
where is the default directory of excel macros ? excel macros Excel Discussion (Misc queries) 2 January 21st 05 07:16 PM


All times are GMT +1. The time now is 05:12 AM.

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"