Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. asilins

    excel: QueryTable... code problem?

    Skip, Everything seems to be working. Thanks for your quick replies and knowledge. It made my day go a little smoother with this help.
  2. asilins

    excel: QueryTable... code problem?

    Just the one QT will be run per data source page. Steps for the macro -User selects data source -Macro fills the template with the appropriate columns of data -Will then prompt for a location to SaveAs
  3. asilins

    excel: QueryTable... code problem?

    Thanks for your help Skip! I see what you mean by defining the active sheet... But I can't hardcode in BENNINGTON_9 because that name will change depending upon the data file that the user selects at the beginning in fopen. The above code you posted doesn't specify the destination of the data...
  4. asilins

    excel: QueryTable... code problem?

    The difference is me just running the marco recorder real quick and not clicking the identical column widths as previous. The intention is to fill the blank template with the portion of data that we need.
  5. asilins

    excel: QueryTable... code problem?

    Yes, I can run it manually and record it no problem but then it hard codes a source for the data file. We use over 50 different data files so the user needs to be able to select the file which is why I added in that portion to the begining of the code. Below is a copy of the code from...
  6. asilins

    excel: QueryTable... code problem?

    VB isn't my area... I'm having trouble trying to get the QueryTable to actually populate the data into the active worksheet in Excel. It works in that it prompts me to navigate and select my data source file. The problem is once I select the data file source I get a "Run-Time error 1004" with...

Part and Inventory Search

Back
Top