Hi,
I have about 300 rows and 12 columns of Data.
As a test, I created a text box to display certain items from a row.
I was wondering is there a way to get the information displayed in "textbox1" to update as the cursor moves throughout the sheet?
For instance, if the cursor is in row 33 then the array would change to "Testarray(33,...)." and if the cursor is then moved to row 55, the array would update to "Testarray(55,....)"
I have searched the forum but I haven't found anythinhg. Is this even possible?
I have about 300 rows and 12 columns of Data.
As a test, I created a text box to display certain items from a row.
Code:
Sheets("qry_Template_Upload").Shapes("textbox 1").Visible = True
Sheets("qry_Template_Upload").Shapes("textbox 1").TextFrame.Characters.Text = Testarray(2, 1) & " " & Testarray(2, 2) & _
Chr(13) & "BU: " & Testarray(2, 16) & _
Chr(13) & "Entity Sponsor(1): " & Testarray(2, 14) & " " & "Entity Sponor(2): " & Testarray(2, 15) & _
Chr(13) & "Status: " & Testarray(2, 3) & Chr(13) & "Direct Ownership: " & Testarray(2, 7) & Chr(13) & "Pickup% " & Testarray(2, 9) & _
Chr(13) & "Voting Interest: " & Testarray(2, 17) & _
Chr(13) & "Consolidation: " & Testarray(2, 11) & Chr(13) & "Equity: " & Testarray(2, 12) & Chr(13) & "Comments: " & Chr(13) & Testarray(2, 13)
I was wondering is there a way to get the information displayed in "textbox1" to update as the cursor moves throughout the sheet?
For instance, if the cursor is in row 33 then the array would change to "Testarray(33,...)." and if the cursor is then moved to row 55, the array would update to "Testarray(55,....)"
I have searched the forum but I haven't found anythinhg. Is this even possible?