+ Reply to Thread
Results 1 to 2 of 2

Look at last pasted cell and if the same give me an error message box

Hybrid View

  1. #1
    Registered User
    Join Date
    12-09-2011
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Excel 2007
    Posts
    46

    Look at last pasted cell and if the same give me an error message box

    I have made a macro that copies dates from 1 sheet and pastes them to another sheet. I do this everyday, with the dates changing. Right now I have it to look from bottom of the sheet up to the next blank cell and pastes the current dates. I want it to look at the last pasted cell and if the date is the same give me a message box error. Hope this makes sense.

    Thanks
    Jeremy
    Last edited by jharaldson; 12-09-2011 at 08:15 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro Help

    Hi JH, Welcome to the forum.

    Take a second and read the FORUM RULES (link above in the menu bar), lots of great tips, and many enforced rules. Rule #1 - the thread title must concisely describe the problem.

    So, while I write up an idea for you, EDIT that post above and correct the title... "Add to last Row only if date is different"... something like that.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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