+ Reply to Thread
Results 1 to 2 of 2

Retrieving Data and updating cells across Worksheets

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    peterlee, co.Durham
    MS-Off Ver
    Excel 2010
    Posts
    1

    Retrieving Data and updating cells across Worksheets

    Hi I am an OLD ex It manager who is now having to do his own Excel work. I have a spreadsheet that has a an "Equiry Sheet" that retrieves date from a second "Employee Data Sheet" using the employee number as the reference( using VLOOKUP), I would now like to make this UPDATE capable. How do I write the data back when I have retrieved it via VLOOKUP? I know the cell reference where I want to write back but I cannot get my Macro to work. This is the coding I am trying to use :-

    Sub UPdatedata()

    Set W1 = Worksheets("Enquiry")
    Set W2 = Worksheets("Master Data")


    W1.Select
    Range("I15").Copy

    W2.Select
    Range(indirect('Enquiry'!L8)).PasteSpecial

    End Sub

    Any Help would be appreciated
    Thanks
    David Steel (Old EX- IT Manager)

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Retrieving Data and updating cells across Worksheets

    Please use code tags with your code.

    There is no indirect VBA function.

+ Reply to Thread

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