Closed Thread
Results 1 to 2 of 2

How to apply macro found in one workbook to another workbook

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    8

    How to apply macro found in one workbook to another workbook

    Hi all!
    Please find attached an excel file that contains an advanced database searching macro, which I found online.
    It enables me to search for a specific Name and returns the corresponding information for that Name in the database (Company, Area Code, Telephone).
    I would like to apply this same macro to another workbook. Having little knowledge of vba, I would like to have somebody explain me step-by-step how to achieve this.
    I need to know therefore how to adapt the code in a way that it deals with the ranges of my new workbook.
    Any help appreciated, please let me know if there is anything unclear in my request, thanks!
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How to apply macro found in one workbook to another workbook

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed 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