Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks to all of you who have assisted me learn more about VBA through
this News Group - it is working for me slowly ...! In short, I have created a 20 or so line long VBA script which works fine for me sometimes. It gets the latest residential real estate data for Japan's 5 major cities and copies the relevant information straight into an Excel WorkSheet for me. The code starts with "Sub Queries()" and ends with "End Sub", but it generates some loops within the code depending upon how many different web pages it needs to visit each time. The number of web pages depends upon the number of available properties in each city whenever I choose to Run the VBA Macro. However, sometimes there are so many properties that I reach the last line of the destination WorkSheet and it stops short of what I want...! Can one of you kind folk please tell me what I have write into the script to make it automatically open a new destination WorkSheet and continue copying the data when the current WorkSheet reaches 64,000 lines, please. Also, can you tell where in the code I need to put this VBA command, please? Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with Queries | Excel Worksheet Functions | |||
Web Queries | Excel Programming | |||
Web Queries | Excel Discussion (Misc queries) | |||
Web queries | Excel Programming | |||
SQL Queries in VBA | Excel Programming |