+ Reply to Thread
Results 1 to 23 of 23

Update workbook from another using upload button

Hybrid View

  1. #1
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,034

    Re: Update workbook from another using upload button

    Try the attached file. You will notice that I removed all the macros in each individual worksheet code module and instead placed one macro in the code module for ThisWorkbook which will apply to all worksheets except "ECP Form". Please note that this macro is based on the current sheet name and sheet codename structure in the Form.xlsm workbook. If this changes in any way, the macro very likely won't work as expected.
    Attached Files Attached Files
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  2. #2
    Registered User
    Join Date
    01-25-2017
    Location
    Worcester
    MS-Off Ver
    2016
    Posts
    93

    Re: Update workbook from another using upload button

    Yet again you've nailed it. I had to make a few minor changes to get it perfect but wouldn't have been able to work it out without your assistance. Tahnks again Mumps1.

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,034

    Re: Update workbook from another using upload button

    My pleasure.

  4. #4
    Registered User
    Join Date
    01-25-2017
    Location
    Worcester
    MS-Off Ver
    2016
    Posts
    93

    Re: Update workbook from another using upload button

    Sorry Mumps1 I'm back again.

    Now I'm not sure this is even possible and I'll try my best to explain.
    With the existing documents you have resolved for me I need a button that opens a Visio document. That's easy enough as I have done this but I need it to be more intuative.

    As you can see when I press the "Launch Site Survey Form" button it unhides a sheet and there are 65 hidden in total. Once the Site name field is filled in it renames the Sheet to whatever the name of the site is. Simple so far.
    What I would like is a button on each of these sheets that when pressed opens a visio document with the same name as the sheet which contains a floor plan of that particular site. So for example if I named the sheet Worcester, when the button is pressed Worcester.vsd opens. If I name the next sheet London, london.vsd opens.

    Is this at all possible? See example documents and you can see what I have tested so far. (unable to upload .vsd file so have uploaded a PDF as it will be the same priciple just a different application)
    Attached Files Attached Files

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,034

    Re: Update workbook from another using upload button

    Try the attached file.
    Attached Files Attached Files

+ 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. [SOLVED] How to upload a file using a command button?
    By Brooksdt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2017, 07:33 PM
  2. Protected workbook, update filter with a button?
    By adamgm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2015, 03:32 PM
  3. How to create a button that upload pdf Object to the active excel spreadsheet?
    By Talk_4 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2015, 06:20 PM
  4. Open another excel file and copy data to sheet 2 while button upload is in sheeet 1
    By rflorentino in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2014, 08:47 PM
  5. Command Button to Update Workbook from External Workbook
    By QCBeauty in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-23-2009, 07:19 AM
  6. Upload Workbook to FTP ???
    By Shaka215@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-18-2006, 07:35 PM
  7. upload data from an excel worksheet to SQL W/ a command Button
    By cdneely in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2005, 12:20 PM

Tags for this Thread

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