+ Reply to Thread
Results 1 to 5 of 5

New Template Workbook Set Up, find file directory, user input for use in macro

  1. #1
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    New Template Workbook Set Up, find file directory, user input for use in macro

    Good Day All,

    I have a pretty complex workbook as a template, it contains a lot of macros to perform various functions. I use this workbook for multiple projects and in order to set it up for each individual project I have to go into VB and add a few things.

    1. I have to manually go in and enter a couple of file paths, One is for the macro to know where to save pdfs and the other is where to find attachments for an e-mail. All the different projects have individual project folders, but they are all layed out the same way. So the workbooks are always in the same place. Is there any Macro that could locate the filepath for the folder the actual workbook is in?

    2. I have to add the individual project number into the coding for a user form. Is it possible to create a macro where on initial set up a user input box would prompt me for a project number then use the number entered in this code.

    It's easy enough for me to do the set up for these, but if I ever leave my job I'd like to leave behind a system that other people who don't know coding can use.

    The first question is more important. The second one is more a queery if it can be done. I can easily use a prompt for the project number then just store it in a cell and call that cell in the coding.

    Many thanks for any help

    R

  2. #2
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    Re: New Template Workbook Set Up, find file directory, user input for use in macro

    Bump for any advice

  3. #3
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    Re: New Template Workbook Set Up, find file directory, user input for use in macro

    Ang again, Bump

  4. #4
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    Re: New Template Workbook Set Up, find file directory, user input for use in macro

    Anyone have any idea's how to do this one?

  5. #5
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    Re: New Template Workbook Set Up, find file directory, user input for use in macro

    Please Login or Register  to view this content.
    The simplest little piece of code and my life just became a lot easier

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to create a template based on user input
    By redman742 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-27-2012, 10:59 PM
  2. VBA: Import CSV file into an Excel Workbook with user defined file name and directory
    By LarryLegend in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-18-2012, 04:47 AM
  3. Allow user to input directory to import from
    By Grekazor in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-13-2010, 07:40 PM
  4. Replies: 3
    Last Post: 06-11-2009, 07:08 PM
  5. getting user input for find macro
    By carljohnman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2009, 03:19 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