Results 1 to 4 of 4

Correct Vba By Macro

Threaded View

  1. #1
    Registered User
    Join Date
    10-01-2013
    Location
    spanish fork
    MS-Off Ver
    Excel 2010
    Posts
    11

    Correct Vba By Macro

    I have a huge quantity of workbooks that access another workbook and use a "modular" macro to print specic pages inside a work book, check and correct some other links...

    anyway the location of the workbook moved due to IT issues.

    is there a way to write a macro to change the VBA from:


    Private Sub CommandButton2_Click()
    Application.Run ("'G:\New G Drive\Data\MIR_History\History_Sheet.XLS'!PrintMir")
    End Sub
    To:

    Private Sub CommandButton2_Click()
    Application.Run ("'G:\Data\MIR_History\History_Sheet.XLS'!PrintMir")
    End Sub
    So that the users can make there own corrections.

    Moderator's note: Please review forum rules. Rule #3 requires CODE tags around VBA code. I have added them since it's your first post. --6SJ
    Last edited by 6StringJazzer; 12-18-2013 at 04:05 PM. Reason: code tags

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 09-17-2012, 09:35 AM
  2. Fix Needed for Code to Send Correct Data to Correct Sheets
    By swordswinger710 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-04-2012, 03:53 PM
  3. Correct way to end a macro
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-17-2010, 03:00 PM
  4. Please help correct this macro! :)
    By ninpo1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2006, 03:39 PM
  5. Please correct my macro
    By famdamly in forum Excel General
    Replies: 5
    Last Post: 03-05-2006, 04:45 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