+ Reply to Thread
Results 1 to 2 of 2

Iterating over column and pasting that information into text box on web

  1. #1
    Registered User
    Join Date
    05-23-2016
    Location
    USA
    MS-Off Ver
    MS Office 2010
    Posts
    1

    Iterating over column and pasting that information into text box on web

    I work for an online college. I will get a list of 80 students to call and I have to copy and paste each student ID from excel into Search Box, then click enter, then click their Active enrollment status.

    I've got the workings of the code off another website and tweaked it, but I don't know why there is a run time error every other time I run this macro. It literally runs 50% of the time with no problem but it only opens up A1 (and it doesn't click the Active enrollment status--- don't know how to do that)

    I don't know how to have the macro iterate from cell A1 into Search box, hit enter, click Active file, then go to cell A2 and do the same thing until the end of the column, so if I had 80 Student ID's listed in column A, I can run macros and have 80 new Internet Explorer windows with each student's file. What can I do?
    Attached Images Attached Images
    Last edited by dookie418; 05-23-2016 at 06:19 PM. Reason: tweaked picture/edited text

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Iterating over column and pasting that information into text box on web

    I don't know if you can glean anything from this. It's old code and I am sure I have forgotten a lot about it. But there is a section where I set a dropdown box to a specific value (as read from the spreadsheet). I then move on to the next box and loop through the contents of the box - there is a third box whose values are dependent on the selection of the second box. I loop though its contents as well.

    The rest of the code you can ignore: I wait for a report to render and then used sendkeys (yuck) to print or download the PDF display.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. Pasting A Text Value Based on Column Count
    By Rasputin24 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-23-2014, 09:24 PM
  2. Replies: 9
    Last Post: 12-21-2013, 09:12 AM
  3. Column Spacing Problem when pasting text to Excel (+ Note 3 query)
    By frcrilly in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 12-13-2013, 04:30 PM
  4. Pasting text from multiple rows along 5 columns into new column
    By Skyla157 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-28-2013, 07:16 PM
  5. Replies: 7
    Last Post: 07-09-2010, 09:57 AM
  6. adding/pasting text to column
    By susisu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2007, 11:32 AM
  7. Iterating through discrete multiple column selections.
    By excel_m in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2007, 03:48 PM

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