Problem with saving from another location.

Hi:)
My name is Steffen, and I have a little problem. I have this code down under. It works well enough, but the problem is that I can not give a new file name, but it is the same name that recur. How do I fix this. I use a template.
The code
Sub SaveMyDocument()
 Activedocument.SaveAs2 "C:\Users\Stephen Christiansen\OneDrive\first Applications\test.docx"
End Sub
Sincerly
Steffen

Hi Steffen,
One way to do this can be:
Sub SaveMyDocument()
Dim strFilename As String
strFilename = InputBox ("Save File as...", "[provide filename]")
ActiveDocument.SaveAs2 "C:\Users\Stephen Christiansen\OneDrive\first Applications\" & strFilename & ".docx"
End Sub
The inputbox is shown to the user and the input is stored in the strFilename variable. That way whenever the code is run it will ask for a filename which you can suppy.
Maurice
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

Similar Messages

  • Oracle Database XE - apex on Windows 7 - Problem with Connection from another Windows 7 Computer

    Hello,
    I started with Oracle Database XE 11g, with apex, did the upgrade to Apex 4.2.6 and started in developing a small Application.
    I wanted to Connect to my Computer A (with Database runing on it) from another Windows 7 Computer B.
    So I put in in Firefox: //A:8080/apex but I only received a timeout.
    Of course on both Computers there is a windows-Firewall running, so I stopped on both Systems the Firewall, but its the same still.
    In the windows explorer running on Computer B , I can see the data of Computer A and both Computers are in the same home-net-group. (sorry for my poor english).
    Is there anyone who cann tell me how to get the Connection running ?
    Maybe I didn't see the info about this in the manuals, if it is there, please give me a hint.
    many thanks
    Wilhelm Kästner Salzburg

    Hi,
    Check if this helps
    https://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#XEINW127
    Regards,
    Jari

  • Problem with saving from white Macbook to Iomega external hard drive

    I'm sorry if this question has been asked before but i cannot find any thread, so i apologise in advance!
    I recently have bought a white macbook, but i have a Iomega external hard drive 250GB (which is not full and nowhere near full)I able to move songs and photos over to iTunes and save on my iPhone okay with no problem. The problem arises when i want to do it the other way, I basically want to save documents, songs and pictures on my macbook over to the external hard drive.
    The icon for the external hard drive appears and everything works. I was suggested to use iTunes > preference > advanced and change the location to my hard drive. I have tried this and all it does it make an additional copy on iTunes not on the hard drive.
    I would be grateful if someone could please help me as i do not have a clue!
    Thanks
    Gemma

    My guess is that the external drive is formatted for windows (NTFS) and for the Mac it would be read only. You can't write to the disk unless you use a third party application like [NTFS-3G|http://www.macupdate.com/info.php/id/24481/ntfs-3g].
    If you're only going to use the drive with your Mac, I suggest reformmating it for Mac (Mac Extended (Journaled)) using Disk Utility. This process will erase the drive so if there's any more stuff that you need, reclaim that first.

  • Windows 8.1 Problem with games from windows store.

    I've got a problem with games from windows store. The installation is going well without any problems, however when I try to open it it's loading and then it turns off. The same problem happens when I try to use Games for Windows. I've use a sfc scan and
    it shows some errors but unfortunately it cannot fix them. Should I share the CBS log or find the solution somewhere else? I hope you help, best regards.

    Hi,
    According to my experience, the problem like store game app open failed probably caused by hardware driver. such as Audio and Graphic driver. So, first of all, please try to reinstall these two driver to fix this problem for test.
    In addition, for SFC scan failed problem, it can be caused by many reasons, I would suggest you use another command to fix your system for test.
    Dism /Online /Cleanup-Image /ScanHealth
    Also you can test SFC command in Windows 8.1 safe mode.
    Thirdly, if problem persists, please check Event Viewer, generally speaking, it would record the app open failed events.
    Roger Lu
    TechNet Community Support

  • Okay how can I tell if someone has installed spyware on my phone or if they have accessed your phone records or history from another location

    I think someone has been going thru my phone or accessing my information from a different location other than in my phone itself is there anyway to tell if someone has installed spyware or accessed any of my information on my phone or from another location or from the phone itself

    The only way someone can install spyware on your iPhone is by hacking/jailbreaking the iPhone followed by installing the spyware from an unofficial source other than from the iTunes Store. This would require having physical access with the iPhone and a computer. Has someone had access to your iPhone with a computer without your knowledge?
    Someone could have access to your iMessages and iCloud photostream with another iOS device and with a Mac that supports iMessage (a PC could have access to your iCloud Photo Stream, not iMessages) if they know your iCloud account password and/or Apple ID password if your iCloud account and Apple ID are different.
    If someone has had access to your iPhone with a computer without your knowledge, you can always restore the iPhone with iTunes as a new iPhone or not from the iPhone's backup. If you think someone has access to your iCloud account, you can change the password for the account along with your security questions and answers.

  • Problem with "Saved with Id" in Reports

    Hi Group,
    I am having problem with "Saved with id" functionality.
    1.) I created a Query in sq01 as "query1".
    2.) Copied the source code of this query into a z program
    ztest_query.
    3.) Now executed the report "ztest_query" in background with "Saved with Id" checkbox checked and id as "1234".
    4.) Now where/how can I search for this id "1234" to retrieve my list.
    5.) Normally if I dont change the report name and use the program aq*query1 which is self generated one, this works and I am able to retrieve the saved list from Transaction
    SQ01.
    Please let me know how this can be achieved.
    Regards
    Ankur Bhandari

    Ankur,
    Did you find a solution for this problem. Not many seem to be using this "Save list to id" functionality.
    Thanks
    Vyas

  • How export one table along with data from one location to other location

    Hi All,
    I'm new in export/import practice.
    Can anyone plz tell the steps along with commands to do the following:
    1. I want to export a table with data from one location(computer) to other(computer) that are in same network.
    2.Also from one user to another user.
    I'm using oracle 10g.
    regards
    Sonia
    Edited by: 983040 on Feb 19, 2013 11:35 PM

    First of all read documentation
    Oracle Export/Import : http://docs.oracle.com/cd/B19306_01/server.102/b14215/exp_imp.htm
    Datapump Export/Import : http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_overview.htm
    If you are using Datapump or Traditional Export/import you need to follow following steps
    *1) Take User dump via EXPDP on Computer A .*
    For EXP
    exp username/password owner=Test file=D:\test.dmp log=D:\test.log
    For EXPDP
    expdp username/password schemas=TEST directory=TEST_DIR dumpfile=TEST.dmp logfile=TEST.log*2) Copy that to Computer B*
    *3) Import dumpfile.*
    For IMPDP  Use remap_schema optionhttp://www.acehints.com/2012/05/data-pump-impdp-remapschema-parameter.html
    For IMP use fromuser and touser option
    one user to another user imp

  • How export one table along with daya from one location to other location

    Hi All,
    I'm new in export/import practice.
    Can anyone plz tell the steps along with commands to do the following:
    1. I want to export a table with data from one location(computer) to other(computer) that are in same network.
    2.Also from one user to another user.
    I'm using oracle 10g.
    regards
    Sonia

    Wrong forum. This is a database query not an Oracle Secure Backup issue.
    Thanks
    Rich

  • Problems with saving a file

    Hello,
    Im having problems with saving files on my computer, from Mail and Safari. I have 900gb free diskspace, but i simply cant save anyhow, it says my disk is full.
    Have i accidentally locked something up?
    Regards,
    Niclas

    Run disk utility on your hard drive to repair your permissions.  http://support.apple.com/kb/HT1452

  • Error, problem with saving documents, Illustrator

    I have a problem with saving documents in Adobe Illustrator (CS6): when I import to my document some jpg, tiff etc (even it isn't huge) Illustrator is crashed ("program to stop working correctly because of a problem. Windows will close the program and notify you if there is a solution available."). Next: program close.
    But when I work only with objects from AI - everything is ok - any error, I can save it.
    I have reinstalled and updated AI. And nothing changed.
    What is a problem?

    <moved from Downloading, Installing, Setting Up to Illustrator>

  • K8t Neo2 problem with resume from standby after BIOS flash

    Previously while using the 3.2 BIOS and a Winchester 3200+, Both Standby and hibernation worked perfectly almost without fail.  Since I flashed the BIOS to 9.3 and installed an X2 4200+ I have had a problem with resume from standby.  The machine starts up OK but the 2nd processor core (cpu1) is almost maxed out and stays that way.  Task manager shows total cpu load as about 45-50% (all on cpu1) but shows no running process using any cpu load, just the usual System Idle process at about 99%.  The only way to get it back down to normal again seems to be to reboot.  By Contrast Hibernation works fine, with no increase in cpu load after resume.  I have all the latest MS patch's installed (I think!) the AMD dual core driver and the MS and AMD dual core optimizers.  Any ideas what is going on?

    Noticed last night that S! standby seems to work OK.  Also was experimenting with a fresh windows install on a spare hard drive (checking on another problem).  The fresh windows install appeared to work with S4 hibernation, so it looks like that is the answer to that problem.  However the problem with high cpu load on the second core after resume from S3 suspend to RAM standby was still present.  This problem is so specific and so repeatable (it does it every time without fail), that I feel there must be some very well defined reason for it.  Unfortunately I have no ideas what could be wrong. Have now tried Windows re-install, latest cpu drivers, AMD dual core optimizer, MS dual core optimizer, Cool'n'quite disabled/enabled, and various others and suspend to RAM still gives the same behaviour

  • Problem with saving a pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21).

    Need advice on a saving file issue. I'm having problem with saving a .pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21). This is new as this error message just recently started to pop-up.

    More information about this issue can be found here:
    https://forums.adobe.com/thread/1672655
    A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
    Then download each of the individual updates and run them sequentially. 
    I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
    You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Adobe Reader 11.0 - Multilingual (MUI) installer    AdbeRdr11000_mui_Std
    Adobe Reader 11.0.01 update - Multilingual (MUI) installer    AdbeRdrUpd11001_MUI.msp
    Adobe Reader 11.0.02 update - All languages    AdbeRdrSecUpd11002.msp
    Adobe Reader 11.0.03 update - Multilingual (MUI) installer    AdbeRdrUpd11003_MUI.msp
    Adobe Reader 11.0.04 update - Multilingual (MUI) installer    AdbeRdrUpd11004_MUI.msp
    Adobe Reader 11.0.05 security update - All languages    AdbeRdrSecUpd11005.msp
    Adobe Reader 11.0.06 update - Multilingual (MUI) installer    AdbeRdrUpd11006_MUI.msp
    Adobe Reader 11.0.07 update - Multilingual (MUI) installer    AdbeRdrUpd11007_MUI.msp
    Adobe Reader 11.0.08 security update - All languages    AdbeRdrSecUpd11008.msp

  • Problems with saving edited photos using Photoshop Elements 5.0 on WIndows 8.

    Since a week I can not save the edited photos - when I try the communicate: "Caould not complete your request because of a program error" appeares. I had no problem with saving edited photos before, with the same software. My computer runs on Windows 8, 64 bit version. My Photoshop Elements is version 5.0. Where is the problem?

    W dniu 2013-06-16 15:36, dj_paige pisze:
    >
    Yes, I did it long ago.

  • I have problem with buying from iTunes Store

    I have problem with buying from iTunes ??!!
    I've put all of my info cards
    What can i do ?!

    Are you trying to spam the forum with 6 the same posts?
    Please give more details of your problem and answer the question below:
    Is the app available in your country?
    Are you using the App Store for your country?

  • Hi. I have a problem with downloading from app store while last three days. An error did mot allow me to that. It's number is 1009.

    I have a problem with downloading from app store while last three days. An error does not allow me to take any app. The error number is 1009.

    Thats the ugliest code I've seen in a while and may be hampering your abilities to debug it. No offense - you have to start somewhere - think of it as somewhat constructive criticism.
    However, I cannot find any place where this is happening. Its happening on line 193.
    Also, this only happens when you try to move certain pieces to certain squaresThat might be a clue. Try printing out the indexes before line 193 and see what happens. Maybe use a debugger to step through your code.

Maybe you are looking for

  • Lackluster Dual Network Setup - HELP!

    Here's my setup: DSL I I AXBS (UFO) 2.4Ghz b/g --> PowerBook G4 (10.4.11); iPhone (Original) I I Time Capsule 5Ghz n (Bridged) --> MacBook Pro (10.5.4); MacBook (10.4.11 - n enabled) The Time Capsule's Strength and Range is suppose to far exceed that

  • AirPlay broken after upgrade to iTunes 12 and iOS 8.1.3

    Hi, Upgraded to itunes 12 and iOS 8.1.3 and AirPlay has now broken. I have never had any issues before with AirPlay (in nearly two years.) i can only get the AirPlay icon to appear in iphone 6 control centre if I reset my router (HH3). Icon disappear

  • Install iTunes 7.1.1

    I tried installing iTunes 7.1.1 (from iTunes 6.something) and everytime it gets stuck in the "registering components" phase. i tried uninstalling and reinstalling, didn't work. if i shut down the installation at this point, i can launch itunes, but i

  • ME23N - Approver display incorrect

    In ME23N under Release strategy tab there is an PO Approver. In our system, it displays X on one server and Y on other server application server on the same SAP instance. However this rectifies itself to X which is correct after 15 - 20 mins. I am as

  • Product Full load Syndication

    Hi All , What is the best process to syndicate full load from MDM ?? We have more than 40 thousand products in the repository , when ever there is a requirement to do a full load . We syndicate all the products to file and send them to XI which would