$$Excel-Macros$$ Re: Over 33,554 rows problem

2014-06-03 Thread Bill Q
Thank you. This solved the problem. Much appreciated ! On Friday, May 30, 2014 5:27:09 PM UTC-4, Bill Q wrote: > Hi, > > I am using Excel 2010. I have a macro web query that downloads various > information. It works fine. No issue there. The only issue that I have is > that it will stop i

Re: $$Excel-Macros$$ Re: Over 33,554 rows problem

2014-06-03 Thread Anoop K Sharma
Well, Use of variant is not required here. As Paul already suggested, use Long instead of integer. If you use variant, the working will go slow and will acquire more space. Replace *Dim i As Integer, j As Integer, k As Integer, s As String *with below one at very begining *Dim i As Long, j As Long,

Re: $$Excel-Macros$$ Re: Over 33,554 rows problem

2014-06-02 Thread Vaibhav Joshi
Hi, Since you are declaring your variable as integer you are getting this error.. check this line.. *Dim i As Integer, j As Integer, k As Integer, s As String* since integer can hold max value upto 32,767, post which you will get overflow error & your macro will get stopped.. Instead of integ

$$Excel-Macros$$ Re: Over 33,554 rows problem

2014-06-02 Thread Bill Q
Hi, Please find macro below. Thanks. Sub Button1_Click() Dim i As Integer, j As Integer, k As Integer, s As String i = 1 j = 1 Do s = Cells(i, 4).Value If s = "" Then Exit Do Worksheets("DATA").Select Cells(j, 1) = Worksheets("URL").Cells(i, 1).Value Cells(j, 2) = Worksheets("URL").C