+ Reply to Thread
Results 1 to 1 of 1

[Macro] Excel Query Connection with Inputbox for changing filters

  1. #1
    Registered User
    Join Date
    03-13-2011
    Location
    Holland
    MS-Off Ver
    Excel 2007
    Posts
    45

    [Macro] Excel Query Connection with Inputbox for changing filters

    Dear All,

    I'm currently trying to write a macro that will establish a connection with a database. I want to use this macro for a couple of hundred customer sheets that all need te same connection to the database but the connection should have a different customer filter for every sheet.
    I need this filter because otherwise the pivottable would make the file too large.

    Below you wil see the macro. The part where i use the MyInput in the query connection is this part:
    Please Login or Register  to view this content.
    Somehow when i try to use the makro with a different customer it returns the customer on which the macro was written. I don't understand why this happens!

    Does anyone know?

    Please Login or Register  to view this content.
    Last edited by JohnGaltnl; 07-19-2011 at 04:27 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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