#1   Report Post  
Greg B...
 
Posts: n/a
Default Text box help

I want to make a splash screen with text box 1 showing the contents of cell
c 12 on my worksheet


How do I code this please

Thanks in advance

Greg


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Create a userform, and add a textbox and this code

Private Sub UserForm_Activate()
TextBox1.Text = Worksheets("Sheet1").Range("C12").Value
Application.OnTime Now + TimeSerial(0, 0, 5), "CloseForm"
End Sub

and in a general code module add this

Sub CloseForm()
Unload UserForm1
End Sub

This will display the form for 5 seconds

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Greg B..." wrote in message
...
I want to make a splash screen with text box 1 showing the contents of

cell
c 12 on my worksheet


How do I code this please

Thanks in advance

Greg




  #3   Report Post  
Greg B...
 
Posts: n/a
Default

Thanks once again exactly what I needed to know


Greg


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
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Converting Numbers to Text properly Shirley Munro Excel Discussion (Misc queries) 1 February 16th 05 03:01 PM
Why is my text changing to pound signs? SleepyDawn Excel Discussion (Misc queries) 2 February 9th 05 10:52 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
Macro or Function to make text size to suite text Length? lbbss Excel Discussion (Misc queries) 4 December 14th 04 07:53 PM


All times are GMT +1. The time now is 06:53 PM.

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"