+ Reply to Thread
Results 1 to 5 of 5

Create a VBA code that creates a shortcut folder on desktop.

  1. #1
    Registered User
    Join Date
    09-02-2012
    Location
    Staffordshire, England
    MS-Off Ver
    Excel 2007
    Posts
    42

    Create a VBA code that creates a shortcut folder on desktop.

    Hello,

    I am currently unsure whether this would be possible using VBA. I want to create a simple spreadsheet that learners can open when they first log on our computers, enter their name and username and it will create a shortcut folder on the desktop to their student folder on our server.

    The server is 2008 but for the amount of learners we have and the turnaround it would not be worth creating everyone user accounts.

    The other thing I would like it to do is when Excel is closed or the computer is logged off, the folder gets deleted from the desktop.

    The problem is that other learners are saving there work in other peoples folders or deleting other peoples work. I have looked at folder management software and can not find one that will suit my needs, hence why I thought about Excel and creating something that suits our needs.

    Regards

    Sam

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Create a VBA code that creates a shortcut folder on desktop.

    Can't you do this as part of their log on script?

  3. #3
    Registered User
    Join Date
    09-02-2012
    Location
    Staffordshire, England
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Create a VBA code that creates a shortcut folder on desktop.

    I am unsure because all the computers use a "learner" log on. They do not have there own usernames or anything, that's why I thought this might be an option. Then they can not access other peoples folders.

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Create a VBA code that creates a shortcut folder on desktop.

    How would you prevent them from accessing other learners' folders?

  5. #5
    Registered User
    Join Date
    09-02-2012
    Location
    Staffordshire, England
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Create a VBA code that creates a shortcut folder on desktop.

    When the shortcut is create, it will be to their folder and their folder only. If they know what they are doing, they might be able to access the others, but most of them won't know how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macro to create shortcut for each folder with list in excel column
    By logesh excel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-12-2013, 07:41 PM
  2. Create VB shortcut to a folder
    By CJPNL in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-18-2010, 11:22 AM
  3. create a Desktop shortcut
    By akhtar151 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2007, 12:19 PM
  4. Create a shortcut to the desktop in a macro
    By morins in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2007, 04:41 PM
  5. Use a macro to create a desktop shortcut?
    By grayco@mail.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2006, 07:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1