+ Reply to Thread
Results 1 to 4 of 4

Cleanup (addendum) - looking to clean this up

  1. #1
    Registered User
    Join Date
    04-24-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    16

    Cleanup (addendum) - looking to clean this up

    Similar to an earlier post, other priorities came up, now looking to resolve this issue again.
    Thanks for the assistance
    Please Login or Register  to view this content.
    Last edited by arlu1201; 06-05-2012 at 02:23 PM. Reason: Code tags needed here.

  2. #2
    Forum Contributor wallyeye's Avatar
    Join Date
    05-06-2011
    Location
    Arizona
    MS-Off Ver
    Office 2010, 2007
    Posts
    308

    Re: Cleanup (addendum) - looking to clean this up

    You could switch from .activate to .row/.col

    lngRow = cells.find(...).row -1
    lngCol = cells.find(...).col -1

    Then your range statement would look like:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor wallyeye's Avatar
    Join Date
    05-06-2011
    Location
    Arizona
    MS-Off Ver
    Office 2010, 2007
    Posts
    308

    Re: Cleanup (addendum) - looking to clean this up

    removed per moderator request
    Last edited by wallyeye; 06-05-2012 at 06:40 PM. Reason: moderator request

  4. #4
    Registered User
    Join Date
    04-24-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Cleanup (addendum) - looking to clean this up

    Please Login or Register  to view this content.
    My apologies to all for posting incorrectly
    (Result to first find is A36061 need to subtract 1 row - (value should be A36060))

    (Result to second find CQ1 need to subtract 1 column - (value should be CP1))

    (Always will start from A5 (Value here should be from above finds -1 (CP36060))

+ 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