+ Reply to Thread
Results 1 to 2 of 2

open and save as

  1. #1
    Registered User
    Join Date
    10-23-2007
    Posts
    1

    open and save as

    hello,all
    I am using Excel2003, now I have a question during my work. I want to use excel vbs to solve a problem, so I used the record mode to get a macro, the question is:
    How can I change the vbs code so that when I run the marco, it popup some window message to let me to browse and choose the xls (for I have to deal with many different .xls in the same way) I need, at the end of code, I want a same window popup to ask me to save as. Can you provide me with an example? Thanks very much.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    This is code that will enable you to opn a file

    Please Login or Register  to view this content.
    This will open the save as dialog

    Please Login or Register  to view this content.

    You could ry

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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