PC Review


Reply
Thread Tools Rate Thread

How do i find the text box number?

 
 
gab1972
Guest
Posts: n/a
 
      23rd Dec 2008
I'm working on some vba for a friend and between saving, resaving, and
changing, my code busts in the fact that it's looking for Text Box #
and can't find it. My code is looking for TextBox 1 and can't find
it. I know which box it is and I wanted to check to see if the box
number has changed. How do I find that out? Does this make sense?

I tried recording a new macro where I move the box around or edit it,
but MS07 didn't show me the text box # in the recorded macro. Is
there some properties or something I can look at that shows me what
the identifier is of the text box?

Thanks
 
Reply With Quote
 
 
 
 
Eduardo
Guest
Posts: n/a
 
      23rd Dec 2008
Hi,
open visual basic and click in view object, then position in the textbox you
are looking for, at your left the properties will give you the textbox #
If this was helpful please say yes, thank you

"gab1972" wrote:

> I'm working on some vba for a friend and between saving, resaving, and
> changing, my code busts in the fact that it's looking for Text Box #
> and can't find it. My code is looking for TextBox 1 and can't find
> it. I know which box it is and I wanted to check to see if the box
> number has changed. How do I find that out? Does this make sense?
>
> I tried recording a new macro where I move the box around or edit it,
> but MS07 didn't show me the text box # in the recorded macro. Is
> there some properties or something I can look at that shows me what
> the identifier is of the text box?
>
> Thanks
>

 
Reply With Quote
 
gab1972
Guest
Posts: n/a
 
      23rd Dec 2008
On Dec 23, 9:00*am, Eduardo <Edua...@discussions.microsoft.com> wrote:
> Hi,
> open visual basic and click in view object, then position in the textbox you
> are looking for, at your left the properties will give you the textbox #
> If this was helpful please say yes, thank you
>
> "gab1972" wrote:
> > I'm working on some vba for a friend and between saving, resaving, and
> > changing, my code busts in the fact that it's looking for Text Box #
> > and can't find it. *My code is looking for TextBox 1 and can't find
> > it. *I know which box it is and I wanted to check to see if the box
> > number has changed. *How do I find that out? *Does this make sense?

>
> > I tried recording a new macro where I move the box around or edit it,
> > but MS07 didn't show me the text box # in the recorded macro. *Is
> > there some properties or something I can look at that shows me what
> > the identifier is of the text box?

>
> > Thanks


Yes, thank you. Actually, I was just about to reply back to myself
and say nevermind. Although, I didn't know how to do it in VB. But
if you click the box in excel, the Name Box attribute tells you the
box number just as it tells you what cell you're in when you click a
cell. Thanks though.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find text Sequentially Number pwk Microsoft Excel Programming 9 21st Sep 2008 03:22 PM
find % number from text string natek1234 Microsoft Excel Misc 4 18th Sep 2007 01:40 AM
Find and Add a number in a text field =?Utf-8?B?ZGVyZWtzbW9t?= Microsoft Excel Worksheet Functions 1 26th Jun 2007 02:34 PM
how do I find out if data in a text field is a number or text str =?Utf-8?B?amFoZmlzaA==?= Microsoft Access 2 4th Apr 2007 03:46 PM
find and delete text, find a 10-digit number and put it in a textbox Paul Microsoft Excel Programming 3 16th Nov 2004 04:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:42 PM.