Message 1 of 4
String Array Problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can someone please help me with my bad programing?
I am having a serious brain fart today (it's been a long day). I need to get the values(textstrings) of some AutoCAD table cells into a string array, but I am having troubles. I have the proper table and I can get the contents of individual cells using acTable.Cells(1, 1).TextString, etc... but I cannot seem to remember how to get each cell value into an array.
See code below:
For Each acCell As Cell In acTable
If acCell.TextString > Nothing Then
strArray() = acCell.TextString 'Does not work
End If
NextThanks for any help you can provide!