connections

  1. K

    VBA to SQL query with parameters

    I am trying to write an SQL query using parameters in an Excel Worksheet and then return the results to the current sheet ar cell B11. I have found it imposible to make it work in SQL so am trying to run it from VBA to pass the parameters. These are named cells StartDate and EndDate in...
  2. M

    Excel Connection SQL Server - multiple query updates

    I have a workbook with a bunch of different SQL queries that I'm trying to update simultaneously. All the queries are very similar I just need to change a number in 12 different ones. I’ve been going in to each one through Connections>properties>definition>commandtext<o:p></o:p> Rather than...
  3. O

    Outside source connection vs pasting as link

    Long time reader, first time poster here. I'm working with a lot of files where the process could be sped up by simply importing the information, rather than typing it in by hand. Most of my source files consist of tables. Ex, an .xls with 15k rows/8 columns, a few .xsld around 20 rows/20...
  4. R

    MS Query help needed

    Morning everyone I currently have a sheet which calculates our customers' spend sorted by customer then by rep then week. This bit is working fine, I use an MS Query to fetch in all the jobs we have done so far this year. This list is getting a bit large already (30000+ rows) and I can...
  5. R

    How to pull unspecified number of cells matching certain criteria into another workbook

    Hi, I'm not sure if I can clearly explain what I'm trying to do so please forgive me if I'm unclear, happy to clarify any points. Secondly, I don't know how to use any VB (not yet, I will learn!) I have a sheet in Workbook 1 that contains dates in column A, magazine title in column B and text...
  6. E

    delete connection

    The following code gives me the "Run-time error '9': Subscript out of range" error on the last line, but only the first time it is run in a blank workbook. mypath = [windows network path]<WINDOWS Path Network> myfile = [text file name]<FILENAME extention without> With...
  7. T

    Multiple Instance of Excel

    Hey guys, I am working on an application for a monthly sports tournament that I run. There are three workbooks to this application: the Administration workbook, the Bracket workbook, and the Leaderboard workbook. I currently have a dual monitor setup (extended, not clone) with my laptop in...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top