473,657 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Event Before Print in Excel, I want "Save As" to run before printing

1 New Member
Please gurus help me out here, I need a code that triggers the Excel Save As dialog box so that I can save every change I make to my workbook as new project regardless of whether i have saved it before or not.

In detail I want each time I click the Print Button it must have to go "Save As" and not just "Save" so that I can use a new name and location before printing actually start Please help your rookie.

I will be running it in Windows 7

Thanks You really are a Guru
Sep 27 '13 #1
0 967

Sign in to post your reply or Sign up for a free account.

Similar topics

0
968
by: Doug Paul | last post by:
Does anyone have any C# code to handle the NewWorkbook event in Excel from a .NET COM add-in? I've tried the MSDN example code to no avail. It compiles, but does not respond to the NewWorkbook event. This is the case in OfficeXP and Office2003.
0
972
by: Rushi | last post by:
Hi Friends, This is my second post past 5 days....please some one try to help me. I have created an add in C#, which is popup a form on excel. Now my query is, i have a tree control which contain some data. now when user drag any item to excel cell at that time i want information about that cell...like cell location, WorkSheet name, cell value...etc At first it's seems easy...but it's not. I have tried by using invoke
3
2985
by: Rushi | last post by:
Hi Friends, I don't know how many times I have submitted this topic, but no one is trying to answer me....please some one try to help me. I have created an add in C#, which is popup a form on excel. Now my query is, i have a tree control which contain some data. now when user drag any item to excel cell at that time i want information about that cell...like cell location, WorkSheet name, cell value...etc
5
4101
by: Nathan Sokalski | last post by:
I am trying to learn how to use the System.Timers.Timer control to perform an action every certain amount of time. However, the Elapsed event doesn't want to fire, but I can't figure out why. I looked at several code examples online, but I think I was doing everything the same way they were. Does anybody have a complete example in VB.NET (the whole aspx and aspx.vb file so I know I am including everything) that I can look at? Any help would...
6
14913
by: randy1200 | last post by:
I'm using Visual Studio 2005 and C#. I need to print a WinForm used for data entry as a graphic. In other words, I need to print the exact WinForm the user sees on the screen. I searched through the newsgroups, and found the code below. This seems reasonable, except for the fact that the author does not provide his SetSeq_Library. This is needed to load the Bitmap variable _ActiveFormImage. Any suggestions on how to capture a WinForm...
0
1133
by: Dr. Patrick Havel | last post by:
Hello newsgroup, I have written an Excel Workbook project in VC#. I want to get the event when the APPLICATION (something like MFCs OnClose()) is closing. It is no problem for me to get this for the workbook object. Thank you for any hints. Regards
23
4499
Rabbit
by: Rabbit | last post by:
Is there an event that triggers when formatting on a cell changes? What I need to do is copy the formatting changes in one worksheet to another worksheet whenever the user changes the formatting. I looked but couldn't find any such event. The Change event doesn't trigger if you just change the formatting.
2
12743
by: gerard123 | last post by:
Hi, Keydown (or keyup or keypress) event can be triggered from a userform, but I can't find how to generate it directly from an excel worksheet. Since there exist a command "autocomplete", there must be a way to do this. With which vba code?? Can you help.? Thks Gerard
0
867
by: prakashsakthivel | last post by:
Hi Members what i need is, there is printer in server, not single handle Excel is running in background How to apply (Excel Document) print command through VB Either Do i have to check whether is it printer available or not
13
14859
by: araman | last post by:
Hello, Is it possible to print an excel file from a command button? Thanks Lance
0
8395
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6166
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.