473,800 Members | 2,586 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disabling Save As documents once they were saved in Word Documents

1 New Member
Hi Everyone,

I created a word template, now I want to add a macro or vb programming that will do the following.
After a user create a new document from a template (not Normal.dot), the user should be allow to save the new document in a folder of his choice. Once the document has been saved, The Save As should be disable so the user can make any modification without saving under different name.
Also how can I prefix by default the name of the template to the name given by the user?
Example:
User open new document using template Sched1.dot, user enter information in form, then save in his folder as "mydocument.doc " . I need to have the file save as ".Sched1-mydocument.doc" without user intervention

A few days later the user needs to make modification, to mydocument.doc, but is not allow to give it another name (Save As disabled). so use can save document but can not rename it

Please help
Apr 5 '07 #1
0 1139

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

Similar topics

2
4533
by: Martin Lucas-Smith | last post by:
I am trying to use PHP's COM support to open a URL from within MS Word then save the document. I am using PHP5.0.3/Apache2/WindowsXP. phpinfo() confirms that COM support is enabled. Manually, this would be: - Start MS Word (am using Office 2003)
3
2539
by: TR | last post by:
Hi, We have some code that uses automation to create/manipulate word documents. This runs in a batch mode, generating dozens of documents in sequence. The code works great, but while the automation code is working in word, care must be taken not to "interrupt" it with a keystroke or mouse-click, otherwise the current selection gets put somewhere its not supposed to be, and subsequent code will fail. This means that while it is running,...
4
5963
by: bborden | last post by:
When I save a document in Word that I have transferred from VBA to Word I notice that the "Save As" file name is for, instance, "December 4.doc". Since the date is the first field I print on the Word document I guess it picks up this as a key. How do I stipulate what the name of the document is to be once I want to save it in Word? " .SaveAs" actually saves the document and I want to view and edit the document and manually save it.
1
1870
by: John | last post by:
Hi I have a feature to open word documents from my vb.net app. Is it possible that when a user saves a word document, my vb.net app gets the name under which the document is saved and the date and time of saving, so I can keep a history of all word documents? Thanks
5
1476
by: Mark Jerde | last post by:
Sorry if these are the wrong newsgroups -- so many to choose from! The first draft of a Word document is about 200 pages. The second draft is about 275 pages. I am required to produce a 3rd Word document of the changes between the draft documents. For the most part the section numbers are the same between the drafts. Track Changes was OFF when creating the 2nd draft. Is there an "easy" way to make delta list between the versions? ...
5
1958
by: hp_1981 | last post by:
Hi Is there anyway avoiding users to save my web pages? this idea came to my mind when I tried to save a web page, but in the middle of saving progress something like the following error occurred: "unable to save the page...". on the other hand, once, I saved a web page successfully, but when I opened it the characters were completely unreadable. unfortunately I can't remember the url now but if you know any way to restrict users,
1
2126
by: =?Utf-8?B?QmFkaXM=?= | last post by:
Hi, I'm using the bellow code to mail merge a word document and it's working fine, where I'm openning "improvement.doc" which is just word document that contain with some text and the merge fields at the top of the document... after performing the merge I want to save the merged document as "merged.doc" and close it. the problem is that my code is opening a new document (as Letter) to do the merge and I don't know to access that document...
4
6476
by: PhilOwens | last post by:
Hi all, As with all database developments I keep getting more and more requirements piled on me and was hoping that someone could help me out with this one as it is outside my knowledge!!! One of my forms shows project information and has the capability of browsing and attaching files to the current record (works fine). There is a command button that opens up a template excel file that we use in the office, this is were I get lost! The...
3
4363
by: evenlater | last post by:
I have an Access application on a terminal server. Sometimes my users need to export reports to pdf, rtf or xls files and save them to their own client device hard drives. They can do that right now the way I have this set up, but it's confusing and slow. When they browse for a place to save the reports, they see all of the drives on the terminal server as well as their own client drives. So they're likely to want to choose "My...
0
9691
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
10507
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
10279
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
9092
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
7582
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
6815
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();...
1
4150
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3765
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2948
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.