Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 265
Default formula bar caption

hi there, is there a way to change the formula bar caption, something like:

if target.address = "$A$1" then application.formulabar.caption="This is the
one!!!"

pd. I am not interested in cell comments, just in the formula bar caption.

thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default formula bar caption


Probably not, that would be considered entering a formula, so if you
selected A1, A1 text will become "This is the One", thus showing in the
formula bar, but of course every time you selected A1 it will get writen
with that text.

Here is an example as well you could use the status bar.


Code:
--------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Range)


If Target.Address = "$A$1" Then Target = "This is the One"

'or use the status bar
Application.StatusBar = False
If Target.Address = "$A$1" Then Application.StatusBar = "This is the one!!!"
End Sub

--------------------


--
Stringer
------------------------------------------------------------------------
Stringer's Profile: http://www.thecodecage.com/forumz/member.php?userid=117
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=65781

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
Display a Line w/ Caption instead of Frame w/ Caption RyanH Excel Programming 1 May 23rd 08 09:15 PM
Caption property the dude[_4_] Excel Programming 1 June 1st 06 10:06 AM
How to reference win.caption, when caption changes Paul987[_21_] Excel Programming 3 April 7th 06 05:09 PM
Caption No Name Excel Programming 2 September 23rd 04 01:27 PM
label caption Rod Taylor Excel Programming 2 July 31st 03 03:25 AM


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