+ Reply to Thread
Results 1 to 8 of 8

Average excel user needs help with either macro or web query from a drop down list

  1. #1
    Registered User
    Join Date
    05-24-2011
    Location
    Louisville, Kentucky
    MS-Off Ver
    Excel 2010
    Posts
    24

    Average excel user needs help with either macro or web query from a drop down list

    Hello,

    I need to be able to download data daily from a dropdown list with a set of criteria using either a web query or macro. I need to download one shifts worth of performance for a 12 hour time period, daily, and since I work on night shift, I need to download that info from 2 different days. Our shift starts at 1700 on one day and ends on 0500 the next morning. On the website, I simply click the dates and times and hit CSV or HTML and it then spits out the info I need. Then I can do whatever I want with it. However, I need to be able to automate this as it takes too long to type in the info I need. I have attached a screen shot of the website that I have to access. It is a secure website, therefore I cannot share address. Once I have looked up the info, I then want to only select certain criteria.


    Any help is appreciated.
    Attached Images Attached Images

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Average excel user needs help with either macro or web query from a drop down list

    Hello chadboehne,

    If you can post the HTML code for the web page (page source), most likely we will be able to help you. Without the HTML code, you are pretty much SOL because it is a secure site.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    05-24-2011
    Location
    Louisville, Kentucky
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Average excel user needs help with either macro or web query from a drop down list

    How do I find that out?

  4. #4
    Registered User
    Join Date
    05-24-2011
    Location
    Louisville, Kentucky
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Average excel user needs help with either macro or web query from a drop down list

    Are you talking about if I go to "Web Developer" on Firefox and click on the "Page Source" button? You need that whole list of code?

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Average excel user needs help with either macro or web query from a drop down list

    Hello chadboehne,

    That's correct. You can also just Right Click the web page and select View Page Source. Save it to your hard disk and the upload it to the forum. The file is a text file. If it is too large to upload, you may need to zip it.

    B]How To Upload a File[/B]
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.

    File Manger Picture

  6. #6
    Registered User
    Join Date
    05-24-2011
    Location
    Louisville, Kentucky
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Average excel user needs help with either macro or web query from a drop down list

    Page source info attached.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-24-2011
    Location
    Louisville, Kentucky
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Average excel user needs help with either macro or web query from a drop down list

    Anybody have any info they could provide?

  8. #8
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Average excel user needs help with either macro or web query from a drop down list

    Hello chadboehne,

    Thanks for posting the page source. I do have some questions.

    Will the warehouse need to be selected?
    Will "Hide empty line items"check box need to be checked each time?

+ 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. macro does not record choice made drop-down list in a web-query - Excel 2010
    By rdesai in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2012, 01:00 PM
  2. Need Help with writingg/editing VBA for User drop down List in Excel 2010
    By powella9 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2012, 02:20 PM
  3. Error: Undefined user type - Wait for excel to update Query before continuing Macro
    By jribeiro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-06-2009, 11:38 AM
  4. [SOLVED] Programmatically query Excel drop-down list ?
    By diglas1 via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2006, 06:40 AM
  5. [SOLVED] A user says he can't get my drop down list to work in Excel.
    By Keli in forum Excel General
    Replies: 1
    Last Post: 04-26-2005, 04:06 PM

Tags for this Thread

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