Results 1 to 11 of 11

Macro for tracking inventory

Threaded View

  1. #1
    Registered User
    Join Date
    06-23-2013
    Location
    NC
    MS-Off Ver
    Excel 2013
    Posts
    6

    Macro for tracking inventory

    Hello! I'm the manager for a coffee house and lounge and I'm trying to create a macro to help us keep track of inventory.

    This is what the inventory spreadsheet looks like:

    Untitled.jpg

    What I would like to happen is when the value under the Need column reads "x", I would like for the first cell in the row to be copied and pasted to another sheet, titled "Shopping List." Essentially, I just want a list created of the items that are marked as needed. I'm having trouble getting the loop to continue down the column and if the column value is "x", copy the first cell in the row. I've tried a multitude of things already, and this is all I can come up with thus far:

    Sub InventoryCount()
    
    Dim Name As String
    
    Name = InputBox("Enter your name.")
    Range("F1").Value = Name
    Range("I1").Value = Date
    
        Cells(ActiveCell.Row, 1).Copy
        Sheets("Shopping List").Select
        ActiveSheet.Paste
    
    End Sub
    I'm no expert, and any help would be appreciated!
    Last edited by Leith Ross; 06-23-2013 at 09:08 PM. Reason: Added Code Tags

Thread Information

Users Browsing this Thread

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

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