+ Reply to Thread
Results 1 to 1 of 1

VBA Worksheet / Workbook Change **Excel 2003**

  1. #1
    Registered User
    Join Date
    02-11-2014
    Location
    Norwich
    MS-Off Ver
    Excel 2003
    Posts
    26

    VBA Worksheet / Workbook Change **Excel 2003**

    On the day tab i have a list of names, when using the validation it will show a list of the full name.
    I then want the VBA to then change the name to its abbreviated name.

    Example:
    Full Name Lookup Name
    Draco Reaper Reaper, D


    *Code I Was Using*
    Private Sub Worksheet_Change(ByVal Target As Range)
    On Error GoTo Egress

    'change this range as needed
    If Not Intersect(Target, Range("J:L65536")) Is Nothing And Target.Count = 1 Then

    'change the vlookup range as needed: this points to looking up the conversion table
    Target = WorksheetFunction.VLookup(Target, Sheets("Crew Names").Range("B3:C65536"), 2, 0)

    End If

    Egress:
    End Sub
    *Code I Was Using*

    The problem i now have is that i have a list of 4+ out bases each with a list of staff names.
    So i need it to go by each one to find the correct out base and then display the correct name for that out base.
    Attached Files Attached Files
    To be forgotten is worse than death!!!

+ 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. Copy multiple worksheets from 2003 workbook to one worksheet in 2010 workbook
    By KeithRoberts in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2012, 10:18 AM
  2. Excel 2003 hyperlink change in windows 2003 server
    By avipenina in forum Excel General
    Replies: 0
    Last Post: 07-24-2007, 04:48 AM
  3. Excel 2003 workbook saved as Excel 97 - 2003 issue
    By Jeff M in forum Excel General
    Replies: 0
    Last Post: 03-22-2006, 04:30 PM
  4. Word 2003 Find/Change Automation from Excel 2003 crashes Excel 200
    By Joel Berry in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-06-2006, 06:25 PM
  5. [SOLVED] Change Font colour mid-worksheet: Excel 2003
    By John L in forum Excel General
    Replies: 2
    Last Post: 07-12-2005, 08:05 AM

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