Microsoft
Software
Hardware
Network
Question : Getting strings from textboxes
I am trying to use the following macro to list all the textboxes on a sheet together with their positions and their text strings. But I am failing on the text string part. Can someone tell me the correct syntax for getting this?
Saqib
Sub GETOBJECTS()
For Each Obj In ActiveSheet.Shapes
Select Case Obj.Type
Case msoTextBox
rn = rn + 1
Cells(rn, 1) = "TextBox"
Cells(rn, 2) = Obj.Left
Cells(rn, 3) = Obj.Top
Cells(rn, 4) = Obj.Width
Cells(rn, 5) = Obj.Height
Cells(rn, 6) = Obj.Characters.Text
End Select
Next Obj
End Sub
Answer : Getting strings from textboxes
This appears to work:
Cells(rn, 6) = Obj.TextFrame.Characters.T
ext
Random Solutions
BES ADmin
Can i make SWF circular???
Change user name in XP without effecting domain/network
linux - jboss - thread dump
OS X Open Directory Offline Files?
troubleshoot sql tcp - connects locally but not in domain
having trouble using CONCATENATE in excel 2010
I have a machine having 3 partitions; Windows 7, Linux and HFS+ partition + Paragon capsule. Which tool to have a full backup including MBR?
Need to export info on vm's for reporting
Why domain admin can not use mstsc to the DC after I added a user to remote desktop group?