ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Filter by User ID (https://www.excelbanter.com/excel-discussion-misc-queries/167131-filter-user-id.html)

Nelson Mather

Filter by User ID
 
I have a task spreadsheet that needs to be updated by many users. The
spreadsheet is in shared mode.

How do I get the spreadsheet to automatically filter by the user Id on
opening the file?

I had thought of using a lookup table but cannot figure out how to capture
the information in the "User Name" field in the Options | General tab.

Gary''s Student

Filter by User ID
 
This tiny UDF will give you the name of the current user:

Public Function UserName2() As String
UserName2 = Environ("UserName")
End Function


--
Gary''s Student - gsnu200758


"Nelson Mather" wrote:

I have a task spreadsheet that needs to be updated by many users. The
spreadsheet is in shared mode.

How do I get the spreadsheet to automatically filter by the user Id on
opening the file?

I had thought of using a lookup table but cannot figure out how to capture
the information in the "User Name" field in the Options | General tab.



All times are GMT +1. The time now is 12:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com