Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default renaming textbox

If I have a change the name of a textbox and do search and replace on
TextBoxName_Event and TextBoxName.Value, VBA gets confused. Somehow search
and replace does not completely convert the project to new names because of
some hidden aspects of VBA. Surely other people have found a solution to
this problem.

Insights would be appreciated.

Regards,
Brian
--
Brian
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default renaming textbox

Is the textbox on a Form?

If so check the name of the textbox in the design page, you should find
that this is unaltered by your 'Find and Replace'

Steve

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default renaming textbox

Is the textbox on a Form?

If so check the name of the textbox in the design page, you should find
that this is unaltered by your 'Find and Replace'

Steve

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default renaming textbox

Yes, the textbox is on a UserForm. By design page, I think you mean the drag
and drop window that is used to create UserForms.

Of course I changed the name in the Properties window (which usually appears
when I am using drag and drop for UserForms). I don't know what else to
change other than the name of the textbox and then do the search and replace.


Brian

--
Brian


"SIR Knight" wrote:

Is the textbox on a Form?

If so check the name of the textbox in the design page, you should find
that this is unaltered by your 'Find and Replace'

Steve


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default renaming textbox


Brian,

I have tried to replicate your scenario, and found that when I use
'Find and Replace' having first changed the name in the properties
window, all still works. Can you be more specific about the error you
are getting?

Steve

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! I Lost The Ability To Advance From TextBox To TextBox With the ENTER Or The TAB Keys Minitman[_4_] Excel Programming 0 February 22nd 05 08:50 PM
Textbox Bug? Missing/delayed update of textbox filled via VBA MarcM Excel Programming 0 November 4th 04 05:47 PM
Textbox Bug? Missing/delayed update of textbox filled via VBA MarcM Excel Programming 0 November 4th 04 05:43 PM
How to move cursor from one textbox control to another textbox con KMoore007 Excel Programming 0 September 16th 04 02:47 PM
UserForm TextBox to ActiveSheet TextBox over 256 characters Dan E[_2_] Excel Programming 1 July 28th 03 07:36 PM


All times are GMT +1. The time now is 02:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"