+ Reply to Thread
Results 1 to 2 of 2

Replace string across ALL VBA code

  1. #1
    Registered User
    Join Date
    08-31-2015
    Location
    ithaca, ny
    MS-Off Ver
    2013
    Posts
    1

    Replace string across ALL VBA code

    The workbook has several modules and tab code behinds in vba. How do I globally replace a connection string with a new one? Version 2013. Thanks

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Replace string across ALL VBA code

    From another workbook, with the workbook of interest selected, use code like this - you will need to set a reference to MS VBA Extensibility

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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] Need help with REPLACE function to replace HEX A0 with HEX 20 in string
    By flyboy54 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-26-2013, 12:52 PM
  2. [SOLVED] Replace string with another string from another worksheet (like decode)
    By sugee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2013, 02:05 AM
  3. [SOLVED] replace string with alternate string
    By seancain99 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-03-2013, 10:13 AM
  4. [SOLVED] Find a string by VBA Regular Expression and replace a part of that string
    By taps in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-25-2013, 11:08 AM
  5. Find and Replace a string in a XML code, using a CommandButton
    By gnaske in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2013, 06:45 AM
  6. Need Help Getting My String.Replace and Dim as String working
    By Johnathan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2012, 12:00 PM
  7. How to Assign Value to a String & Replace String With Assigned Value?
    By xiaokang1982 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-23-2012, 06:01 PM
  8. Replies: 3
    Last Post: 08-10-2006, 07: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