Results 1 to 3 of 3

Textbox input as file location for data merge

Threaded View

  1. #1
    Registered User
    Join Date
    01-02-2010
    Location
    Washington
    MS-Off Ver
    Excel 2007
    Posts
    4

    Textbox input as file location for data merge

    Sub MergeHorizontally() --Courtesy of Ron de Bruin
        Dim MyPath As String, FilesInPath As String
        Dim MyFiles() As String
        Dim SourceCcount As Long, FNum As Long
        Dim mybook As Workbook, BaseWks As Worksheet
        Dim sourceRange As Range, destrange As Range
        Dim Cnum As Long, CalcMode As Long
    
        ' Change this to the path\folder location of the files.
        MyPath = " File Location" 
        ' I would like for this location to be the path entered in a textbox on   Sheet1
    Any ideas on how I can make this work? Thanks!
    Last edited by excelman45; 01-03-2010 at 05:37 PM.

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