Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2019, 01:37 PM
Alansidman's Avatar
Alansidman Alansidman is offline Computer Name Windows 10 Computer Name Office 2019
עַם יִשְׂרָאֵל חַי
 
Join Date: Apr 2019
Location: Steamboat Springs
Posts: 115
Alansidman has a spectacular aura aboutAlansidman has a spectacular aura aboutAlansidman has a spectacular aura about
Default

An alternative means to get the same results



Code:
Option Explicit

Sub CompName()
    MsgBox (Application.UserName)
    MsgBox (Environ("username"))
    MsgBox (Environ("computername"))
End Sub
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Font and Format changes from computer to computer / device FHANNAN87 Outlook 1 04-19-2017 03:28 PM
Computer Name New computer RetamaRobert Office 3 03-25-2011 02:14 PM
Computer Name New Computer Rayddd Outlook 1 01-13-2011 07:32 AM
Computer Name Should I buy new software for a new computer? Balliol Office 1 12-27-2010 03:09 PM
Computer Stolen-Install Office 2007 On New Computer corndale Office 0 08-23-2010 09:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft