Write array to destination stops at row 3699

sonicroc

New Member
Joined
Apr 6, 2020
Messages
14
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
  2. Web
I am pretty confident this is a new problem.
Recently a routine I wrote started behaving strange in my investigation in found that when I write and array of data to either a range or table that it is only providing data up to row 3699.
It is consistent whether I write to a table or range. Yes, I am adequately re-sizing the range or Table for the incoming data. The array is 1 to 15777r by 1 to 35c.
---Sample---
Set drng = Worksheets("Tickets2").Range("A1").Resize(UBound(tktA, 1), UBound(tktA, 2))
drng = tktA


tkt_T.DataBodyRange = tktA
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Are you sure that the array contains data below row 3699?
 
Upvote 0
In that case how are you populating the array?
 
Upvote 0
In that case how are you populating the array?
I am taking data from multiple tables into arrays then looping through it all to correlate it all into one table based on a common index (i.e. ticket#)
example...
For k = 1 To C2
If tktA(i, 2) Like ctktdA(k, 2) Then 'ticket id
tktA(i, 13) = ctktdA(k, 9) 'Requestor
tktA(i, 16) = ctktdA(k, 3) 'Title
tktA(i, 17) = ctktdA(k, 4) 'Problem description
tktA(i, 18) = ctktdA(k, 5) 'Solution
tktA(i, 19) = ctktdA(k, 6) 'Solution Description
tktA(i, 20) = ctktdA(k, 7) 'Bug ID
tktA(i, 21) = ctktdA(k, 8) 'Company Name
GoTo NK:
End If
Next k
 
Upvote 0
How have you verified that there is data in the array below row 3699?
 
Upvote 0
How have you verified that there is data in the array below row 3699?
stepping through and looking at the array while in break.
1604504300272.png
 
Upvote 0
I should note, I have even created a new file copied data to it, copied, not exported module with my code and re-tried it. tried deleting and re-creating table/sheet etc..
 
Upvote 0
I believe it is a cell that contains this string that is causing the issue.


"============================================


config system virtual-wan-link


config members


edit 6


set interface "wan2"


set weight 1


set gateway x.x.x.x <-----------------------------------


next


end


=============================="
 
Upvote 0
Should I try to enforce formatting in someway when moving the data either in or out of the Array to fix this? It looks like it is the "======" of course.
 
Upvote 0

Forum statistics

Threads
1,214,857
Messages
6,121,948
Members
449,056
Latest member
FreeCricketId

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top