+ Reply to Thread
Results 1 to 4 of 4

VB - Paste in last active cell

  1. #1
    Forum Contributor
    Join Date
    08-06-2007
    Posts
    105

    VB - Paste in last active cell

    I'm working on this Macro process - and I can't figure two things out.

    1) How do I get it to past contents in the second blank cell at the bottom of a list in a specific column? IE - data in B1:B17, paste new list in B19. What I'd REALLY like, is for it to paste in B8, but if B8 used, THEN paste to the second to last blank cell in column B. (if thats even possible)

    2) I have VB open an excel workbook, grab data, copy and then past into 1) (above), but then close that workbook. However it always asks "do you wish to save?" and "Do you wish to keep data on clipboard" How can I program it to say "no" for both of these windows prompts?

    Here's an excerpt of my code that I need help with:

    Please Login or Register  to view this content.
    Thanks in advance!!
    Last edited by adgjqetuo; 05-12-2009 at 10:37 AM.

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: VB - Paste in last active cell

    Try with this code:
    Please Login or Register  to view this content.
    Regards,
    Antonio

  3. #3
    Forum Contributor
    Join Date
    08-06-2007
    Posts
    105

    Re: VB - Paste in last active cell

    Thanks for the response!!

    I actually solved the first problem with this code (I just forgot to update my post). It seems to work ok so far.


    Please Login or Register  to view this content.
    I will try the Blue part you suggested today once I get into work - keeping my fingers crossed!

    Thanks for the response!

  4. #4
    Forum Contributor
    Join Date
    08-06-2007
    Posts
    105

    Re: VB - Paste in last active cell

    Worked Great!

    Thanks!!

+ 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