Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 04-26-2019, 01:22 PM
NoSparks NoSparks is offline Computer Name Windows 7 64bit Computer Name Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

Are you sure about that?
Or is it not the computer name that you really want?

On my computer, In the vba Immediate window, these lines give three different results.
Only one is the actual computer name.
Code:
? Application.Username

? Environ$("username")

? Environ$("computername")
Reply With Quote
 



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 02:56 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