Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Variabel and caption in userform

Alvin,
Assuming the title you want to use is in cell A1...
In the form module, put the following.
'/====================================/
Private Sub UserForm_Activate()
Me.Caption = Application.ActiveSheet.Range("A1").Value
End Sub
'/====================================/
HTH,
Gary Brown

-----Original Message-----
Hi

Can i use a variabel in my caption in my userform
sp the titel in my userform have the value of my variabel
and if i can how? And where shall i define my variabel?

Best regards

Alvin

.

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
Load caption box on userform open ExcelMonkey Excel Worksheet Functions 1 April 3rd 07 11:02 PM
Defining UserForm Caption from a Variable [email protected] Excel Worksheet Functions 1 January 3rd 07 02:30 PM
Variabel and caption in userform Tom Ogilvy Excel Programming 3 September 21st 04 08:53 PM
Variabel and caption in userform sebastienm Excel Programming 0 September 21st 04 07:57 PM
UserForm Caption Soniya Excel Programming 2 October 4th 03 01:53 PM


All times are GMT +1. The time now is 05:47 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"