Q: most efficient way to feed textboxes from worksheet and vice versa

  • Thread starter Thread starter Tom Ogilvy
  • Start date Start date
T

Tom Ogilvy

for activeX controls on a worksheets with sequential names as an example:

for i = 1 to 50
With Worksheets("Sheet1")
.OleObjects("TextBox" & i).Object.Value = .Cells(i,2)
.OleObjects("Label" & i).Object.Caption = .Cells(i,1)
End With
Next
 
Hi,
I believe this has been measured some time ago. I need to feed more than 50
controls (textboxes and label.captions mostly) real fast.
Is there a clear winner among the methods?

TIA
Paul
 
50 is trivial. Any way, manually loading, or linking to worksheet cells
should be fast enough.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top