+ Reply to Thread
Results 1 to 2 of 2

Excel Inventory Sheet - Populate free drive space

  1. #1
    Registered User
    Join Date
    11-15-2021
    Location
    England
    MS-Off Ver
    2016
    Posts
    1

    Excel Inventory Sheet - Populate free drive space

    I am in the process of creating an Excel inventory spreadsheet for PCs and laptops within my company. What would be useful is if I could populate each machine with its available drive space (C: Drive). I believe this might be possible using VBA and the FileSystemObject statement.

    Does anyone have any idea how this might be achieved?

    Assuming all the machines are turned on and live, my spreadsheet will have a PC/Laptop name on each row and a corresponding cell for the drive space.

    Machine Drive Space (C)

    PC1
    PC2
    PC3
    PC4
    PC5


    Thanks for any assistance.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,696

    Re: Excel Inventory Sheet - Populate free drive space

    Google: excel vba get remote disk capacity … to get some ideas.

    This looks particularly useful:

    Exposing System Secrets with VBA and WMI API
    https://sites.google.com/site/beyond...thvbaandwmiapi
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] Conditional Lookup - Free Space HDD
    By Ferry Wils in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2020, 10:56 PM
  2. TOtal Drive space formula
    By matty0511 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-13-2016, 05:40 PM
  3. [SOLVED] Excel Server Management Script - Free Disk Space
    By hans_wurst in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2014, 03:22 AM
  4. [SOLVED] Macro to free drive space before saving
    By pedrofogao21 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-25-2012, 12:17 PM
  5. free space
    By mdshotgun in forum Excel General
    Replies: 12
    Last Post: 05-23-2010, 05:56 AM
  6. Getting Amount Free Disk Space On A Drive
    By mrclinker in forum Excel General
    Replies: 2
    Last Post: 05-12-2006, 08:20 AM
  7. Copy columns to free space in diff wrkbk
    By Craigm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-21-2005, 10:58 AM

Tags for this Thread

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