+ Reply to Thread
Results 1 to 2 of 2

Macro to find a partial name of file, copy info and paste it in another workbook

  1. #1
    Registered User
    Join Date
    06-06-2014
    Posts
    1

    Macro to find a partial name of file, copy info and paste it in another workbook

    Hi
    I have been asked to write a macro that automatically copies data from one worksheet and pastes it into another one. It's supposed to look for the beginning of a name not a whole one (ex Budget instead of Budget2014). I was told to possibly use a left function somewhere in there but I'm lost.

    Thanks

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro to find a partial name of file, copy info and paste it in another workbook

    Here's a good step-by-step guide on the .Find Method

    Search for your keyword followed by a wild card e.g. "Budget" & "*"
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. [SOLVED] Copy column based on info in first row and paste into new workbook via macro
    By painterartist in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2014, 11:45 AM
  2. [SOLVED] Macro to find data in source workbook and copy paste to target workbook
    By D.Lovell in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-23-2014, 06:21 AM
  3. Replies: 2
    Last Post: 02-10-2014, 11:52 AM
  4. [SOLVED] Cmd to Listbox (Find info in sheet2) copy/paste info to A7 Excel 2007
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-14-2013, 09:49 AM
  5. Replies: 1
    Last Post: 10-17-2005, 04: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