Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how do I display username, current time & date on the status bar

I want to show the AD username, current time and date on the status bar
instead of the cell so as not to disrupt the data.

how can that be done? Using VBA? Any idea?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default how do I display username, current time & date on the status bar

Gary

Maybe?

Sub Staus_Bar()
Application.StatusBar = Application.UserName & " " & Now
End Sub


Gord Dibben MS Excel MVP

On Mon, 24 Jul 2006 20:01:01 -0700, Gary Tan <Gary
wrote:

I want to show the AD username, current time and date on the status bar
instead of the cell so as not to disrupt the data.

how can that be done? Using VBA? Any idea?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how do I display username, current time & date on the status b

Hi Gord,

Thanks for the reply. I am actually looking for the Network UserName and to
indicate the last updated date and time. Any ideas?

Thanks!

Warmest Regards,
Gary Tan




"Gord Dibben" wrote:

Gary

Maybe?

Sub Staus_Bar()
Application.StatusBar = Application.UserName & " " & Now
End Sub


Gord Dibben MS Excel MVP

On Mon, 24 Jul 2006 20:01:01 -0700, Gary Tan <Gary
wrote:

I want to show the AD username, current time and date on the status bar
instead of the cell so as not to disrupt the data.

how can that be done? Using VBA? Any idea?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default how do I display username, current time & date on the status b

Gary,

Try code like

Sub AAA()
Application.StatusBar = "User: " & Environ("username") & " at " &
_
Format(Now, "hh:mm:ss dd-mmm-yyyy")
End Sub

The thing about this code is that it is static -- it won't update
the time. There is no way to put a ticking clock in the
statusbar. Perhaps you could use the techniques at
www.cpearson.com/excel/ontime.htm to get a ticking clock.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Gary Tan" wrote in message
...
Hi Gord,

Thanks for the reply. I am actually looking for the Network
UserName and to
indicate the last updated date and time. Any ideas?

Thanks!

Warmest Regards,
Gary Tan




"Gord Dibben" wrote:

Gary

Maybe?

Sub Staus_Bar()
Application.StatusBar = Application.UserName & " " & Now
End Sub


Gord Dibben MS Excel MVP

On Mon, 24 Jul 2006 20:01:01 -0700, Gary Tan <Gary
wrote:

I want to show the AD username, current time and date on the
status bar
instead of the cell so as not to disrupt the data.

how can that be done? Using VBA? Any idea?





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default how do I display username, current time & date on the status b

Application.StatusBar = environ("username") & ...

NickHK

"Gary Tan" wrote in message
...
Hi Gord,

Thanks for the reply. I am actually looking for the Network UserName and

to
indicate the last updated date and time. Any ideas?

Thanks!

Warmest Regards,
Gary Tan




"Gord Dibben" wrote:

Gary

Maybe?

Sub Staus_Bar()
Application.StatusBar = Application.UserName & " " & Now
End Sub


Gord Dibben MS Excel MVP

On Mon, 24 Jul 2006 20:01:01 -0700, Gary Tan <Gary
wrote:

I want to show the AD username, current time and date on the status bar
instead of the cell so as not to disrupt the data.

how can that be done? Using VBA? Any idea?





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 Current Date & Time in a cell: Everytime I open the workbo sam Excel Worksheet Functions 4 September 3rd 09 11:30 PM
Username Date and Time Annie Excel Discussion (Misc queries) 2 June 8th 07 11:45 PM
Logging username, date and time Maddoktor Excel Programming 8 July 8th 06 12:27 PM
Username & Date/Time Stamp Ken D Excel Discussion (Misc queries) 4 March 19th 06 02:23 PM
Can I automatically enter the current date or current time into a Ben New Users to Excel 7 October 19th 05 03:38 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"