×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Updating Userform TextBox Default value

Updating Userform TextBox Default value

Updating Userform TextBox Default value

(OP)
Hi everybody,
I want to know if there is a way to update a userform text box default value when user enters a string in the related field, i.e., every time user runs the macro, the default values should be the last ones user's entered in the previous run.
Thanks in advance

RE: Updating Userform TextBox Default value

your script should then save and read the value in a text file somewhere or in the win registry.

Eric N.
indocti discant et ament meminisse periti

RE: Updating Userform TextBox Default value

(OP)
Could you please tell me how can I retrieve saved data from Windows registry?

RE: Updating Userform TextBox Default value

did you try google?

Eric N.
indocti discant et ament meminisse periti

RE: Updating Userform TextBox Default value

(OP)
Of course I did! Actually i'm new in vb programming and its difficult for me to apply available methods (https://support.microsoft.com/en-us/kb/145679) to the CATIA VBA code i'm trying to write. All I need is to save a folder path string to the registry and recall it.
however, thank you for your follow-up "itsmyjob".

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources