Results 1 to 6 of 6

Badge Inventory Report

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-30-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    266

    Badge Inventory Report

    Hi
    I need some help on the VBA of this report. In the "scan here" tab. I will scan in the badge number in cell "A2". The date will automatically be timestamped into the "June 17" tab of the date which I have indicated in cell "B2" of the Scan Here Tab. (I have originally input a "Today" function in cell B2 but have removed it for trial purpose here).
    I just need a small help on the VBA whereby for example if I change badge 1 to "assigned" status on the date of 2 jun 17, the time stamp is not showing on cell J113. It is showing up on cell J3. Any assistance will be greatly appreciated.

    The VBA code is as follows

    Private Sub Worksheet_Change(ByVal Target As Range)
    
        Dim Today
    
        If Not Intersect(Target, Range("A2")) Is Nothing Then
            Today = Now()
            
            If Sheet1.Cells(2, 1) = "" Then
                MsgBox ("Please Scan")
            
            Else
    
    Sheet2.Cells(Target.Cells(1, 3), Target.Cells(1, 4)) = Today
            
            End If
        End If
    End Sub
    
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    
    End Sub
    Attached Files Attached Files
    Last edited by Shamz41; 06-22-2017 at 11:55 PM. Reason: Tag code

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Badge Inventory look up
    By Shamz41 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-09-2017, 07:58 AM
  2. Inventory Summery Report help.
    By bone7890 in forum Excel General
    Replies: 2
    Last Post: 01-13-2016, 05:28 AM
  3. Badge Inventory Scanning
    By Shamz41 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-30-2015, 10:59 PM
  4. Agieng inventory report
    By azhar786 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-25-2014, 08:35 AM
  5. Inventory Ageing Report
    By Josher in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-15-2013, 09:43 AM
  6. Inventory Report
    By pakhare.kiran in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2013, 07:30 AM
  7. inventory report
    By gnettenstrom in forum Excel General
    Replies: 3
    Last Post: 04-03-2011, 12:45 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