Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Display COUNT result in Titlebar
Hello All:
I have a COUNT function on one column. The result appears in one cell of the worksheet I'd like to display the numeric content of that cell in the Titlebar. How can I use VBA to modify the Titlebar? Thanks!! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Display COUNT result in Titlebar
The following code gives an example (must be in the worksheet's code module):
Private Sub Worksheet_Calculate() ThisWorkbook.Windows(1).Caption = "COUNT=" & Range("A1").Value End Sub -- - K Dales "davidemile" wrote: Hello All: I have a COUNT function on one column. The result appears in one cell of the worksheet I'd like to display the numeric content of that cell in the Titlebar. How can I use VBA to modify the Titlebar? Thanks!! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Display COUNT result in Titlebar
One way:
With ActiveSheet .Parent.Windows(1).Caption = .Range("A1").Value End With In article , davidemile wrote: Hello All: I have a COUNT function on one column. The result appears in one cell of the worksheet I'd like to display the numeric content of that cell in the Titlebar. How can I use VBA to modify the Titlebar? Thanks!! |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Display COUNT result in Titlebar
Why not just use the built-in functionality. Right-click on the bottom-right
of the status bar, and you can pick the COUNT function which shows the count for any selected range. -- HTH Bob Phillips (remove nothere from email address if mailing direct) "davidemile" wrote in message ... Hello All: I have a COUNT function on one column. The result appears in one cell of the worksheet I'd like to display the numeric content of that cell in the Titlebar. How can I use VBA to modify the Titlebar? Thanks!! |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Display COUNT result in Titlebar
Hey, thanks for the creative and fast answers! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Userform without titlebar? | Excel Programming | |||
Full Pathname in Titlebar | Setting up and Configuration of Excel | |||
Userform Titlebar Color | Excel Programming | |||
Form titlebar height | Excel Programming | |||
userform titlebar and closing form | Excel Programming |