Save and replace html file in Word

Does anyone know how to save a Word document as a Web Page (HTML) format replacing an already existing file which has the same name (and location)? I want to save my document as a Word document and also as an html document, overwriting any existing documents with the same names.
Using:
save as active document file name "Photo [OSX]:Users:home:Desktop:Calendar.doc" file format format document
overwrites the existing document without asking (whichi is what I want) but:
save as active document file name "Photo [OSX]:Users:home:Desktop:Calendar.htm" file format format HTML
gives me an error ("Microsoft Word got an error: active document doesn't understand the save as message.") if there is an existing document in the same location with that name.
If there is no existing document this works fine.???
Pedro
G5   Mac OS X (10.3.9)  

Peter,
The easy way would be to delete the file first:
try
delete file "Photo [OSX]:Users:home:Desktop:Calendar.htm"
end try
Reese

Similar Messages

  • How to Edit and Replace Psd Files in Adobe Flash - Help!

    Hi Everyone,
    I am new to flash and I am trying to build my first flash site using a flash template. I can use flash to edit certain components like header text, etc. But The content is impossible for me to change. I think that these are psd files, which I can open with gimp or another program and edit. I save and replace that file, but when I view movie again, the content is the same. I guess what I need to know is how to get these files back into my flash movie after I have edited them. Please help, I am no computer expert, but I am learning. A how to for dummies answer would be awesome.

    Maybe You should try the Flash-forum:
    http://forums.adobe.com/community/flash

  • Find and replace in files does not refresh when changes are made

    Using RH10, I search for a term with the Find and Replace Options pod. I use the Find Results list as a reference only, and open each file from the Topic List. I do this instead of opening the topics from the Find Results tab because I want to see the WYSIWYG changes. Anyway, I make my edits and delete the search term from each topic. Then, to make sure I have done all the work, I run the search again. I expect to see no or at least fewer matches than before, but I still get some or all of the same results as before, even though I double-check the Design and HTML views of the topics and even check the source of a topic separately in Notepad, all indicating that the search term is gone from the topic.
    There is some ridiculous lingering or echo going on. I make sure to select Look in: <Current Project>, and the paths of all the Find Results files are fine. How do you refresh the search so that this echo doesn't occur?
    Also, I close the Find and Replace Options pod, reopen it and start the search again, and the same results are there.
    Message was edited by: DMilkes

    Hi there
    To avoid the message about the file being modified, close all topics in the editor before commencing with any find and replace operations. The message is produced because you have the aforementioned topics open in the editor.
    As you mention "Find and replace in files", I'm guessing you are referring to version 8. I just opened version 8 and performed a find and replace to confirm. There is a button allowing you to clear all.
    On the clicking and dragging to create a link, it's never worked that way. You simply cannot drag from the Topic List pod to do it. But you can from the Project Manager pod. Perhaps you should consider submitting a Wish Form to ask for the ability to click and drag from the Topic List pod to create links.
    As far as rearranging your topics into different folders, as long as you do it from inside RoboHelp you shouldn't be destroying any links. RoboHelp will update references for you as you move things around. The only issue is if you are automatically creating your TOC structure based on the project structure. But usually that's a one time shot. From there forward you just manage things using the TOC editor.
    Hopefully this helps... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Can I save and read text files on a server that I host?

    Hello everyone,
    I am a java hobbiest. I was wondering if I set up my own server, running out of my house, could I have my applets save to my computer and read from my computer without having to learn JDBC and a DATABASE language. In other words could i just have my applet save and read text files from and to my server?
    I'm trying to set up a sight for my 5th grade class where parents can log into. Thanks for your time.
    Oh yeah, which is easier, learning how to set up a server or learning JDBC and a DATABASE language?
    If you have any other good idease please tell me them
    Thank you, Bryan

    Short answer: This isn't gonna work
    Long answer: For this to work, the first thing you're going to need is a static IP address and a DNS name registered -actually you don't necessarily need #2 but you're probably gonna want it and it's by far the easier of the steps.
    As far as I know to get a fixed IP address you've either gotta be directly attached to a larger network (ie university network) or get a leased line from an ISP.
    Once you've got that done come back to us.

  • Elements 9-cant edit, save and replace original like i used to. Setting issue?

    I have had Elements 9 for a few years and ive always been able to edit and save and replace original if I wanted.... now when I save, my organizer shows the same file # twice. (example:  DSC325)
    but one is the orginal and one is the edited version.
    If I delete the orginal picture, it now also deletes my edited version.
    The only way to avoid is to "save as" on EVERY picture and then go back and delete the orginal unedited version.
    Did I accidentally change a setting????

    Yes I have 9.03
    I use Fix... Full Photo Edit
    I used to be able to hit SAVE... reaplce photo?  Yes... and then the orginal was gone and the newly edited picture was now named the original file #.  But now when I do that I get two pictures named THE SAME.  So I have to do SAVE AS , change file name, and then go and delete the orginal photo.
    Here are settings when SAVING.
    Here is what DSC_0523 now looks like in organizer:  it shows 2 of the edited picutre with the same name... instead of replacing it and showing only ONE file. 

  • RH 11: Search and replace in files: options are grayed out

    Hello to all,
    just wanted to replace a string in my RH Project. Using the Dialog "search and replace in files", the Option "ignore HTML-Tags" is grayed out.
    Even if i create a new, empty Project: the same Problem.
    Is this Option generally not available in RH11 or what is the Trigger to gray the Option out?
    Sorry if I dont hit the English terminology used in RH, I'm using the German Version...
    Regards,
    Julian

    Hi Julian. This sounds like you have the Advanced options displayed. try going back to the Basic options by clicking the double arrow icon in the top right hand corner:

  • Save and close InDesign file CS4 JS

    Hi, I need to save and close InDesign file after export pdf was done. Once export is complete the script opens the pdf file and the script gets interrupted. Here what I was trying and I am not sure if it even in the right direction:
    #targetengine "session"
    main();
    function main(){
        var myApplicationEventListener = app.eventListeners.add("afterExport",
        mySaveInDesign, false);
        var myDocumentEventListener = app.documents.item(0).eventListeners.add
        ("afterExport", mySaveInDesign, false);
        app.scriptPreferences.version = 6.0;
    var myEventNames = ["afterExport"] ;
    function mySaveInDesign(myEvent){
        var myDocument = myEvent.parent;
        saveInDesign ();
    function saveInDesign (){
        //myDocument.save(myDocument);
        app.activeDocument.save(myDocument);
        app.activeDocument.close(myDocument);
    Your help is highly appreciated.
    Yulia

    Save either takes no argument (equivalent to the File/Save menu option) or a file path, equivalent to File/Save As.
    So, your save commands aren't going to work as written. You either need just save(); or save(myDocument.fullName);
    Dave

  • Welcome window problem.  appears every time i save and close a file of photoshop

    How to fix a bug regarding welcome window. this window appears every time i save and close a file of photoshop, its started after the last update 2014.2.0

    See this document: Troubleshoot Welcome Screen in Photoshop
    Scroll all the way down to the bottom. There's a check box "Don't Show Welcome Screen Again"
    You can relaunch the screen at a later date by selecting Help>Welcome Screen...
    ~ Arpit

  • I can't save and open .ai files.

    Hello.
    I can't save and open the file with special character in virtual drive(using communications). -> refer to this.. ( http://software.naver.com/software/summary.nhn?softwareId=MFS_105031 )
    *Special character I used is 黒(not 黑).
    If I rename the file name(黒.ai -> test.ai), the file is opend successfully.
    And when I save the file as "Illustrator ver.8 format", the file is saved well.
    This is the error message I have.
    - open : this file cannot be found.
    - save : The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder.
    Please answer me~.
    Version :     Illustrator CS5
    OS :            Windows 7 32bits

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''

  • I want to open a html file in word and save it as docx programmatically using activex

    can i open a .html file in microsoft word and save it as a .docx file programmatically ?

    What does your question have to do with instrument control? Does it have anything to do with any NI software?

  • Windows media player in browser asking to replace html file every time

    Hi Alll,
    I have a case in which I am running a WMP in a Browser using ActiveX container , the problem I am facing is on every run its asking me to replace the existing html file in the folder , Is there a way to get rid of that, I dnt want to click replace every time. Is there a easy way of doing this.
    Please let me know.
    Ankit
    Solved!
    Go to Solution.
    Attachments:
    wmp.JPG ‏47 KB

    Thanks, It was very helpfull
    smercurio_fc wrote:
    The dialog is being caused by the Write Characters to File VI that you are using. If the file already exists, it will ask you if you want to replace it. Instead of using those VIs, just use the Read From Text File and Write to Text File functions that are in the File I/O palette.
    Your code has another issue: your use of the Current VI Path constant. See Why Does My Executable Not Work When Using the Current VI's Path Constant?
    smercurio_fc wrote:
    The dialog is being caused by the Write Characters to File VI that you are using. If the file already exists, it will ask you if you want to replace it. Instead of using those VIs, just use the Read From Text File and Write to Text File functions that are in the File I/O palette.
    Your code has another issue: your use of the Current VI Path constant. See Why Does My Executable Not Work When Using the Current VI's Path Constant?

  • Load and print HTML file

    Hi all :
    I saved a HTML file that include test result labview 8.5 application .. I want to load this file to other application and print it
    How can I do that

    Hi
    its labview vi ... this application will load the file then print it .. this waht i want to do ....
    i generate HTML report and save it into specific directory .. i need application to load and print it
    thanks

  • Hello, Indesign 6 will not allow me to save and close my file

    Hello, Indesign 6 will not allow me to save and close my file

    Try exporting to .idml. If that works, openthe .idml and save as a new .indd.
    If it doesn't work, force quit ID and then restart. Auto-recovery should kick in and reopen the file at about the last state, then try again.

  • How can I convert and replace SDII files to WAV files in a song?

    I have to convert some audiofiles in a song from 16 to 24 bit and from SDII to WAV. I choose the option "Copy/convert files" in the audio window and everything is converted well.
    In my audio window I have now 16 and 24 bit files and WAV and SDII files.
    But how can I replace those new files in my song?
    On logic 6.4.3 I could after "Copy/convert files" choose the option "Change file reference(s) in the song to the audiofile(s) that have been copied", but in my new Logic 7.1.1 I don't have that possibility anymore.
    What am I'm doing wrong? I'm copying my new audio in new folders.
    G5 dual 2,7   Mac OS X (10.4.3)   Protools HD3 Accel, 192, 96i (2x)

    set sample rate to original sample rate

  • BUG: "Save and compact" increases file size by 1KB each time?

    Flash CS4
    I noticed that when I do "save and compact" on a .fla file, it causes the file size to increase by 1KB each time--even when no changes were made.  Can this be fixed?

    Yup. It works perfectly in CS3. Now the problem you will have is that you don't have CS3 installed. Even if you will save your files as CS3 format, you cannot (as far as i know) "save and compact" it as CS3, it will prompt that it must be converted from older version CS3 to CS4 and you end up with the same problem. Perhaps there is a setting to force CS4 to save and compact in CS3 version but i doubt it. The only way i know to solve it is save the file as CS3 format (But you will lose some XMP file info metadata, i'm not sure if that is necessary though) then close CS4, and open CS3 then "save and compact" it there. This is definitely a bug where some information might have been duplicated in the file's info or history. If you are lucky an adobe employee might be able to give you a solution to this or just confirm this bug.

Maybe you are looking for