+ Reply to Thread
Results 1 to 4 of 4

Need Help writing a macro

  1. #1
    Registered User
    Join Date
    09-14-2015
    Location
    United States
    MS-Off Ver
    2010
    Posts
    8

    Need Help writing a macro

    I do not really know where to begin with this macro. I need the macro to basically take column A (the date from there) from one sheet match it with A (date from there) and paste Column A, B, C to columns I,K,K on the main sheet.

    Sheet A

    Column A Column B Column C
    2/1/15 15:26 Door 1
    2/2/15 18:30 Door 2
    2/3/15 4:01 Door 3

    Sheet 2

    Column A Column B Column C Column I J K
    2/1/15 15:26 Where sheet 1 column A B C would go after the two column A are matched by the date.
    2/2/15 18:30
    2/3/15 4:01

  2. #2
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,347

    Re: Need Help writing a macro

    Every thread here "needs help writing a macro" - your title should be descriptive of what you actually need.
    Please edit it to conform with the forum rules.

    Also you should provide a sheet with sample starting data and the result you require

    refer to this post on your previous thread

    http://www.excelforum.com/excel-prog...ml#post4189327
    Last edited by scottiex; 09-24-2015 at 07:07 PM.

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Need Help writing a macro

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,053

    Re: Need Help writing a macro

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Writing a Macro to check cell population & then run another macro.
    By OpticsGuy in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-15-2014, 11:52 AM
  2. Novice with VBA and macro writing needing help to loop a macro unti no data
    By jrongone in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-25-2013, 12:19 PM
  3. Macro Writing
    By Blake 7 in forum The Water Cooler
    Replies: 13
    Last Post: 03-05-2011, 04:15 PM
  4. Writing a macro (copy&paste macro)
    By skatmandu2002 in forum Excel General
    Replies: 3
    Last Post: 02-23-2010, 06:26 PM
  5. need help with writing a macro
    By tyler3 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-09-2007, 10:21 AM
  6. Writing a macro
    By Sylvia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2006, 09:45 AM
  7. [SOLVED] writing macro
    By CN in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-02-2005, 02:05 PM

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