Results 1 to 3 of 3

Show dialog window

Threaded View

  1. #1
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Show dialog window

    Hi Friends,

    Please help me for below code
    first i want tell what i want
    i am lokking a dialog window insted of input box.
    in Inputbox, i put the path where my file tobe save.

    So here i want to dialog box which will save the path in my variable
    Dim outputPath
    outputPath = Application.InputBox("Please Paste The Output Path", "Output Path")
        If outputPath = "" Then
        Exit Sub
        
     Workbooks.Add
         ChDir outputPath
         ActiveWorkbook.SaveAs Filename:= _
            outputPath & "\Merge File.xls", FileFormat:= _
            xlOpenXMLWorkbook, CreateBackup:=False
            Windows("Merge File.xls").Activate
    Last edited by mohan.r1980; 11-15-2010 at 05:17 AM. Reason: Added Code Tags

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