+ Reply to Thread
Results 1 to 5 of 5

VBA Paste Loop Question

  1. #1
    Registered User
    Join Date
    08-12-2016
    Location
    Florida
    MS-Off Ver
    10
    Posts
    2

    VBA Paste Loop Question

    Hello, I am currently using the following code to pull in data from various websites.

    Please Login or Register  to view this content.
    I have all web address' on column A, and the code looks at each link then pulls the 20 rows of data I need from the websites.
    ex.
    [/URL]http://finviz.com/screener.ashx?v=152[/URL]
    [/URL]http://finviz.com/screener.ashx?v=152&r=21[/URL]


    The problem I have is that the code will paste into cell B1, then paste into cell B2 etc. Considering the data I am importing is 20 rows long, I need the code to paste to every 20 rows in column B.

    I can't figure out how to do that.

    Thanks to anyone that can help.

  2. #2
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Re: VBA Paste Loop Question

    try

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Re: VBA Paste Loop Question

    Edit: Double post please ignore this

  4. #4
    Registered User
    Join Date
    08-12-2016
    Location
    Florida
    MS-Off Ver
    10
    Posts
    2

    Re: VBA Paste Loop Question

    Thank you so much Kramxel! That worked!

  5. #5
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Re: VBA Paste Loop Question

    your welcome.

+ 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. [SOLVED] For next loop question.
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-29-2014, 04:08 PM
  2. [SOLVED] Loop within a Loop Question
    By vexel77 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 11:26 AM
  3. [SOLVED] Copy dynamically changing column and Paste using VBA Loop (Loop within Loop)
    By nixon72 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2013, 12:46 PM
  4. Loop Question
    By ej463 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-05-2009, 02:18 AM
  5. For Each... loop Question
    By travm in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 07-03-2007, 03:10 PM
  6. loop question
    By choice in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-30-2005, 02:05 AM
  7. For...Next Loop question
    By CWatsonJr in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-12-2005, 04:26 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