Subject: Package and Deployment - XLStart Up
Posted By: Shasur Post Date: 1/10/2006 10:00:07 AM
Hi All

I need to install a Excel Spreadsheet in the machines startup parh 'XLstart'

Is there any way I can get the user name in the setup.lst, so that the file gets copied to

c:\Documents and Settings\[user name]\Application Data\Microsoft\Excel\XLSTART

Thanks,

 Shasur


Reply By: amerk20 Reply Date: 1/10/2006 1:21:17 PM
quote:
Originally posted by Shasur

Hi All

I need to install a Excel Spreadsheet in the machines startup parh 'XLstart'

Is there any way I can get the user name in the setup.lst, so that the file gets copied to

c:\Documents and Settings\[user name]\Application Data\Microsoft\Excel\XLSTART

Thanks,

 Shasur



You should be able to use the UserName property of the Application object to return or set the name of the current user.

Example
This example displays the name of the current user.

MsgBox "Current user is " & Application.UserName


Rick

Go to topic 38545

Return to index page 609
Return to index page 608
Return to index page 607
Return to index page 606
Return to index page 605
Return to index page 604
Return to index page 603
Return to index page 602
Return to index page 601
Return to index page 600