+ Reply to Thread
Results 1 to 2 of 2

Best Way to Recall Long Strings

  1. #1
    Registered User
    Join Date
    12-30-2010
    Location
    New Haven, Ct
    MS-Off Ver
    Excel 2016
    Posts
    41

    Best Way to Recall Long Strings

    The title of this post is atrocious, I know, and, I apologize- I'm just not really sure how to neatly and succinctly sum up what I am attempting.

    I am building an add-in to assist with my company's end-of-year financial processes. Part of this process is running some SQL scripts. I had the idea of incorporating, as a part of the add-in, a menu that would allow the user to choose and generate a pre-defined SQL script. The issue that I am having is how to store those scripts. I have 12 SQL scripts, each of them sitting in their own .txt file; I have attached a sample to this thread.

    I want a user to be able to click on a custom add-in tab in their ribbon where they will be able to pick any one of 12 SQL scripts which will then copy the script to the clipboard so that the user can then paste it into a window in PL/SQL to be able to run it.

    How would you fine people go about accomplishing this? I'm not looking for code, just methods. Any and all input would be greatly appreciated.

    Many, Many, Many Thanks,
    Justin
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Best Way to Recall Long Strings

    If the SQL scripts are not changing why not store them in your addin file?

    Although the addin workbook is not visible you can still reference it in you code.
    Cheers
    Andy
    www.andypope.info

+ 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. Match different long strings with an array of short, summarizing strings
    By FKemps in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-24-2015, 12:55 AM
  2. Parsing Long Strings
    By ajocius in forum Excel General
    Replies: 3
    Last Post: 12-12-2009, 02:46 PM
  3. Storing long strings in workbooks
    By Cheeky Charlie in forum Excel General
    Replies: 3
    Last Post: 03-06-2009, 07:58 AM
  4. Splitting Long Strings
    By moericus in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-07-2008, 04:09 PM
  5. using long strings
    By jimredfield in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2008, 04:57 PM
  6. Long Strings
    By Guitar Billy in forum Excel General
    Replies: 1
    Last Post: 11-20-2006, 10:03 AM
  7. DDEExecute With Very Long Strings
    By ags5406 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2006, 06:50 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