+ Reply to Thread
Results 1 to 2 of 2

(need help) VBA code for Open workbook, ask to change source, close and ask to save as

  1. #1
    Registered User
    Join Date
    12-20-2013
    Location
    Hanoi
    MS-Off Ver
    Excel 2010
    Posts
    12

    (need help) VBA code for Open workbook, ask to change source, close and ask to save as

    Hi folks,

    Im a very newbie in excel macro, so Im seeking your help in writing the code for the following:

    - Macro code is in an active workbook. say workbooks("1.xls")
    - I need a code to open workbook 2.xls, which includes many links. Then pop up change source dialogue to let users choose files/sources to update. Reason to do this: A new data source file is available every week, therefore, each week, user will have to change the source for this file 2.xls.
    - Then close this workbook 2.xls, and the save as dialogue pops up to have user save as to a new file at a different location. Reason: the workbook 2.xls is only used as the template, and should be read only. Each week, a new version of workbook 2.xls (after links are updated) is saved to a designated folder.

    Thank you in advance.

  2. #2
    Registered User
    Join Date
    12-20-2013
    Location
    Hanoi
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: (need help) VBA code for Open workbook, ask to change source, close and ask to save as

    anyone help? please?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Wanna make a Userform Close and Save - Then open a different workbook?
    By Wanting2Excel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-06-2012, 08:29 PM
  2. How to open,save and close another workbook from the current workbook using macro?
    By ravikumar00008 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2012, 10:42 AM
  3. Open workbook, copy data, save and close error
    By Jessica.Bush in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-01-2012, 12:59 PM
  4. VBA to open, change, save and close all files in DIR
    By jdkoeppen in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-18-2011, 03:35 PM
  5. Save an open workbook, then open template workbook and close the saved workbook
    By ondvirg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2009, 10:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1