• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

how to provide title bar for file browsing

ThrottleWorks

Excel Ninja
Hi,
Am using below code to browse files. I am not able to provide 'Title' option while browsing.
Can anyone please help me to provide 'title' option in below code.

Code:
Sub brws1()
    Dim rw As Integer
    Dim cl As Integer
    Dim Flocation As Variant
    
    rw = 6
    cl = 3
    
    Flocation = Application.GetOpenFilename()
    If Flocation <> False Then
        fName = Flocation
    End If
    
    If fName <> False Then
            Mac.Cells(rw, cl).Value = fName
        Else
            Mac.Cells(rw, cl).Value = ""
            MsgBox "You haven't selected any file."
            Exit Sub
    End If
End Sub
 
Back
Top