Rename Textbox on Worksheets
I have no idea why Outlook started--sounds pretty strange to me.
But since you used the textbox from the drawing toolbar, you can delete/ignore
the second routine.
But I'm not sure what: "are they the same as forms?" mean.
Your subject says the textboxes are on the worksheets. Are they really on
worksheets or are they on something else--maybe a dialog sheet or even a
userform?
======
I don't see what would generate the error, though.
Can you paste the code that you used--I'm guessing a minor typo was added
(maybe????).
Darren Hill wrote:
On Thu, 16 Jun 2005 23:43:11 +0100, Dave Peterson
wrote:
Are they textboxes from the Drawing toolbar? Or are they from the
Control
toolbox toolbar?
The Drawing Toolbar. Are they the same as Forms? I tried both routines
below and both produced errors.
The forms one faulted at: "For each TB in wks.textboxes" with a type
mismatch. * (see below)
The Controls version faulted at "If TypeOf OLEObj.Object Is
MSForms.TextBox Then" saying "User-Defined Type Not Defined"
* In the Locals window, when i Clicked
wks+
to expand it to find what sheet (wks.name) it failed on, a very odd thing
happened. An Outlook wizard started, and it tried to create a mail
profile! What's going on here?
Darren
--
Dave Peterson
|