Consulting

Results 1 to 3 of 3

Thread: Simple code that refreshes link to another excel file with Password

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Simple code that refreshes link to another excel file with Password

    Hello,

    I have a code that opens other files in order to update links. There is one password also.
    See below:

    Sub OpenTheTemplate()
    Dim filename As String
    Workbooks.Open (ThisWorkbook.Path & "" & Range("x16").Value & ".xlsx"), Password:="BT2023", writerespassword:="BT2023"
    End Sub

    I was wondering if there is one existing that just "refreshes" links instead of opening the files each time

    Many thanks for help :-)
    Last edited by Aussiebear; 11-24-2022 at 01:05 PM. Reason: Added code tags to supplied code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •