+ Reply to Thread
Results 1 to 4 of 4

Need Macro to FIND TEXT & Insert quotation marks

  1. #1
    Registered User
    Join Date
    11-13-2015
    Location
    Montreal, Canada
    MS-Off Ver
    2010
    Posts
    5

    Need Macro to FIND TEXT & Insert quotation marks

    Hi, I'm new to this forum but have used your posts many times. Thanks to all!
    I can't the solution that will resolve the following though, can you help?

    My spread sheet has both alpha & numeric cells, going from A1 to G1040, including a few empty ones in between.

    What I need is : in every cell that starts with either http, or https, then I want to insert a single quotation mark at the beginning of the text and at the end of the text. For example, I need for this : http://www.aircanada.com/en/travelin...age/index.html to become this : 'http://www.aircanada.com/en/travelinfo/airport/baggage/index.html'

    I need the formula to loop to the end of the document.

    Thanks

    Chris

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Need Macro to FIND TEXT & Insert quotation marks

    Please Login or Register  to view this content.
    On mine, it only displays the last single quote, but if you click a cell you can see both quotes in the formula bar.
    I'm interested in starting a career working with VBA, if anyone knows of any opportunities!

  3. #3
    Registered User
    Join Date
    11-13-2015
    Location
    Montreal, Canada
    MS-Off Ver
    2010
    Posts
    5

    Re: Need Macro to FIND TEXT & Insert quotation marks

    Wow! that was fast and efficient. It works perfectly.
    Thanks!
    Chris

  4. #4
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Need Macro to FIND TEXT & Insert quotation marks

    You're welcome. Please mark this thread SOLVED, and any reputation points (the * in the lower left of the posts) is appreciated.

+ 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. VBA code to put Quotation marks around any string of text
    By Ninjas101 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-30-2015, 08:49 AM
  2. [SOLVED] CONCATENATE text that includes quotation marks
    By spoonpilot in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-30-2012, 04:13 PM
  3. How to handle quotation marks within text VBA is working on
    By Langkawi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2009, 06:19 AM
  4. Placing Quotation Marks Around Text With Column
    By jessekanclerz in forum Excel General
    Replies: 2
    Last Post: 03-18-2009, 04:38 PM
  5. Passing a function from VB with text strings in quotation marks
    By Max in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2006, 10:10 AM
  6. [SOLVED] After exporting how do I remove quotation marks from text cells
    By Marty G in forum Excel General
    Replies: 0
    Last Post: 07-28-2005, 10:05 PM
  7. [SOLVED] How do I concatenate text that actually contains quotation marks?
    By Excel Distress in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2005, 10:06 AM

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