473,479 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
Create 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 1116

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

Similar topics

2
4512
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. ...
3
2505
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...
4
5907
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...
1
1859
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...
5
1439
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...
5
1931
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...
1
2108
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...
4
6459
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...
3
4324
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...
0
7027
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,...
0
6899
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7019
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,...
0
7067
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...
0
5312
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,...
1
4757
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...
0
4463
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...
0
2980
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2970
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.