+ Reply to Thread
Results 1 to 4 of 4

overwrite specified range of data only

  1. #1
    Forum Contributor
    Join Date
    07-23-2019
    Location
    San Antonio, Texas
    MS-Off Ver
    Office 365
    Posts
    141

    overwrite specified range of data only

    Hello,


    I'm trying to learn and understand vba coding and how it works, so I have posted a few different "varieties" of questions regarding copy and pasting..
    So, first please allow me to say thank you to all that contribute your time and knowledge to these posts.

    Question:
    Is there a way to use the macro/example attached to only make the overwrites apply to columns A - Y (any/all data beyond column Y would not be affected)?



    Please Login or Register  to view this content.


    Thank you in advance for your help!

    Kindest Regards,
    Paula
    Attached Files Attached Files

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: overwrite specified range of data only

    See if this does it.
    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Forum Contributor
    Join Date
    07-23-2019
    Location
    San Antonio, Texas
    MS-Off Ver
    Office 365
    Posts
    141

    Re: overwrite specified range of data only

    This worked perfect!

    thank you bunches and bunches!

  4. #4
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: overwrite specified range of data only

    Quote Originally Posted by paula.mccall View Post
    This worked perfect!

    thank you bunches and bunches!
    you're welcome,
    regards, JLG

+ 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] VBA overwrite data
    By thomasghi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-08-2019, 05:30 PM
  2. [SOLVED] Userform: Retrieve data from excel sheet and overwrite with new data in the same rows
    By Pbawal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-09-2014, 11:49 AM
  3. [SOLVED] vba overwrite text in string if found in a range using adjacent values ( inside same cell)
    By vlady in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-09-2013, 11:32 PM
  4. [SOLVED] Copy/Paste from a Filtered Range and Insert copied data NOT overwrite
    By Simon.Ward in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-12-2013, 11:14 AM
  5. Split data from Master Sheet to existing worksheets and overwrite data
    By vmwest in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-21-2013, 05:36 PM
  6. [SOLVED] Macro with "save as" --- Need excel to overwrite a file without a prompt to overwrite
    By tsmith1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2012, 10:54 AM
  7. Prevent data cell overwrite but allow blank cell overwrite
    By Squasher in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2011, 09:24 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