Results 1 to 2 of 2

Adjust or change - Application.GetOpenFilename

Threaded View

  1. #1
    Registered User
    Join Date
    11-22-2019
    Location
    Alabama USA
    MS-Off Ver
    Windows 7
    Posts
    4

    Adjust or change - Application.GetOpenFilename

    I have a user that generates several different reports from a non-excel program for multiple departments. These reports are converted and saved into a folder as .xlsb files. I have written a macro that is saved inside another folder which formats these reports.

    I’m building a separate worksheet that will be a control sheet for lack of a better term. From this sheet I trigger a macro which uses the expression “Application.GetOpenFilename” to open a folder containing the excel file and then opens another folder containing the VBA text file. After the files are chosen by the user, the macro completes its mission by placing the VBA text file inside excel file. The macro works beautifully.

    However, what I would like is to have this process completed automatically. I don’t want to ask the user to pick a file. I want them to just click the button (shape). The macro is triggered it gets the excel file (using a predetermined name) inside the appropriate folder and then reaches out and grabs the VBA Text file, and then does its thing.

    My question is how to adjust the existing macro to accomplish this task.
    Attached Files Attached Files
    Last edited by Phillip2; 11-22-2019 at 12:54 PM. Reason: change attachment

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Obscure VBA error? Application.Run conflicts with Application.GetOpenFileName
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-15-2013, 08:31 PM
  2. [SOLVED] I need help with Application.GetOpenFileName
    By venkatpvc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-12-2013, 10:00 AM
  3. Application.GetOpenFilename problem
    By nachousa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2010, 11:31 AM
  4. Application.GetOpenFilename
    By Screamtruth in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-06-2010, 02:49 PM
  5. [SOLVED] Application.GetOpenFileName
    By Chris in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-18-2006, 07:40 PM
  6. [SOLVED] Application.GetOpenFilename vs Application.Dialogs(xlDialogsOpen)
    By Paul Martin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-05-2005, 12:05 PM
  7. Application.GetOpenFilename
    By Nigel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2005, 12:06 PM
  8. [SOLVED] Application.GetOpenFilename
    By Greg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-19-2005, 10:06 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