+ Reply to Thread
Results 1 to 6 of 6

Change code to select only specific range

  1. #1
    Forum Contributor
    Join Date
    01-18-2012
    Location
    nr Salisbury, UK
    MS-Off Ver
    Excel 2010
    Posts
    126

    Change code to select only specific range

    Second attempt to change it, hopefully this time.
    Last edited by julhs; 02-19-2017 at 10:01 PM. Reason: Thread title change

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Help adapt some code

    Post your workbook first.

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Help adapt some code

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Forum Contributor
    Join Date
    01-18-2012
    Location
    nr Salisbury, UK
    MS-Off Ver
    Excel 2010
    Posts
    126

    Re: Help adapt some code

    Thanks mehmetcik

    But getting Compile Error – Expected list separator or) at “:AJ”


    Have uploaded WorkBook now as JeiJenn suggested
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Help adapt some code

    If I understand correctly, this is probably what you are looking for

    Please Login or Register  to view this content.
    Last edited by JieJenn; 02-19-2017 at 09:00 PM.

  6. #6
    Forum Contributor
    Join Date
    01-18-2012
    Location
    nr Salisbury, UK
    MS-Off Ver
    Excel 2010
    Posts
    126

    Re: Help adapt some code

    Hi mehmetcik
    It was an extra " before LR1+1

    JieJenn
    There is a formula in "N", the new row has it in, but seems to have been stripping from original LR1


    P.S JieJenn, my mistake I failed to copy ".Cells(LR1 + 1, "N").FillUp"

    Thank you both
    Last edited by julhs; 02-19-2017 at 09:35 PM.

+ 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] Adapt code to check certain page
    By Margate in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-05-2017, 06:17 AM
  2. [SOLVED] Adapt Code
    By PaulCooke in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-15-2015, 12:05 PM
  3. Adapt AutoFilter VBA code
    By jarnold231 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-05-2014, 11:48 PM
  4. [SOLVED] Adapt A Piece of Summing Code
    By timbo1957 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2014, 10:55 AM
  5. Adapt code to delete row
    By Seraph84 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-20-2011, 07:39 AM
  6. [SOLVED] Adapt code to loop through sheets
    By Stuart in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2005, 10:05 PM
  7. Please help me to adapt this code.
    By Rob Hargreaves in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2005, 05:06 PM

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