+ Reply to Thread
Results 1 to 2 of 2

VBA to search for a file, then change the name, change file type and save to new location

  1. #1
    Registered User
    Join Date
    05-03-2019
    Location
    Ohio
    MS-Off Ver
    Office 2016
    Posts
    1

    VBA to search for a file, then change the name, change file type and save to new location

    HELP! Thanks to this and several other forums I am starting to really LOVE all the things VBA can do. Unfortunately I've hit a road block. I have an input form for my project leaders to input project information. This input form saves new data to the next open row in a table which then assigns it a number. The input form has an "update existing information" button that uses the assigned project number to pull information back into the input form, edit it and update the existing info in the table. I have multiple reports and forms built off the data table that all use the project number to generate reports.

    Now for my request... I would like to have command buttons for project leaders to select a picture file from their files - once selected it renames the file LINKING IT to the assigned project number (example "43 image 1") - changing it to a .JPG - and saving it to a specific file in a SharePoint site.

    I will then need another command box that, based on the project number entered, will download that picture into the report.


    Phewwww when I type it all out I realize what a daunting task I'm asking for help on... But I have had so much luck getting info from other threads I figure i'll start my own.

    Any help will be appreciated!

    Amanda
    Attached Images Attached Images

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: VBA to search for a file, then change the name, change file type and save to new loca

    Administrative note

    Welcome to the forum

    missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

+ 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. Worksheet Change Event - Save file after tenth change
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-10-2017, 09:19 AM
  2. Can't change Autorecover File Location
    By PuzzlesB in forum Excel General
    Replies: 1
    Last Post: 06-30-2016, 03:44 PM
  3. file save as tab delimited change to direct file save
    By bkanealy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-13-2016, 02:15 PM
  4. Replies: 4
    Last Post: 03-20-2016, 04:27 PM
  5. Macro needed to open "File Save As" and change save file type
    By blainerhett in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2014, 02:40 PM
  6. Save as macro that specifies file type, file location and takes file name from three cells
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-13-2013, 10:09 PM
  7. Change default File Location of an Add-in
    By ttd in forum Excel General
    Replies: 5
    Last Post: 09-27-2012, 02:03 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