Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Signing Spreadsheets

There used to be a way to put your name in Windows so that when a user
clicked on Help and About your name and log was there, is there a way to that
in Excel?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Signing Spreadsheets

Here is one way:
Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _
"GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long

Function fOSUserName() As String
' Returns the network login name
Dim lngLen As Long, lngX As Long
Dim strUserName As String
strUserName = String$(254, 0)
lngLen = 255
lngX = apiGetUserName(strUserName, lngLen)
If (lngX 0) Then
fOSUserName = Left$(strUserName, lngLen - 1)
Else
fOSUserName = vbNullString
End If
End Function

Note: it may NOT work as you wish...try it and see...

Regards,
Ryan---


--
RyGuy


"Vercingetorix.XIII" wrote:

There used to be a way to put your name in Windows so that when a user
clicked on Help and About your name and log was there, is there a way to that
in Excel?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Signing Spreadsheets


"Vercingetorix.XIII" wrote in
message ...
There used to be a way to put your name in Windows so that when a user
clicked on Help and About your name and log was there, is there a way to
that
in Excel?


File Properties


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Signing Spreadsheets

thanks, this worked very well...

"Stephen Bye" wrote:


"Vercingetorix.XIII" wrote in
message ...
There used to be a way to put your name in Windows so that when a user
clicked on Help and About your name and log was there, is there a way to
that
in Excel?


File Properties



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Signing Spreadsheets

I had forgotten all about that one

"Vercingetorix.XIII" wrote:

There used to be a way to put your name in Windows so that when a user
clicked on Help and About your name and log was there, is there a way to that
in Excel?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Signing Spreadsheets

You didn't like this reply to your posting of yesterday?

Private Sub Workbook_Open()
Sheets("Sheet1").Range("A1").Value _
= ActiveWorkbook.BuiltinDocumentProperties("Author")
End Sub


Gord Dibben MS Excel MVP

On Wed, 24 Sep 2008 08:18:17 -0700, Vercingetorix.XIII
wrote:

There used to be a way to put your name in Windows so that when a user
clicked on Help and About your name and log was there, is there a way to that
in Excel?


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
Digitally signing VBA Project Michelle Excel Discussion (Misc queries) 3 November 11th 07 01:25 PM
signing in Jackie Excel Worksheet Functions 2 January 28th 07 08:54 AM
Data Recording Officer Signing In FARAZ QURESHI Excel Discussion (Misc queries) 1 January 2nd 07 01:26 AM
Electronic signing for an Excel Spreadsheet Lee Bob Excel Discussion (Misc queries) 1 December 5th 05 11:25 AM
Routing and Signing Excel Spreadsheets Bonita Excel Discussion (Misc queries) 0 April 20th 05 09:43 PM


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