+ Reply to Thread
Results 1 to 4 of 4

copying cell values from an active row using the offset function

  1. #1
    Registered User
    Join Date
    12-18-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    30

    copying cell values from an active row using the offset function

    I am trying to compile a list from multiple sheets based on a pass/fail user form. When I fail something, I want to add the rows to a new sheet.

    Here is an example of the method I am trying to use

    Please Login or Register  to view this content.
    I know the first part is working properly, however it is not importing the original cell information. I am getting the second part off of what I searched online but it doesn't seam to work.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: copying cell values from an active row using the offset function

    Looks like an event procedure is what you need.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    12-18-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    30

    Re: copying cell values from an active row using the offset function

    Thank you for your reply.

    There really isn't much more code to show that is relevant to what I am asking unfortunately but maybe I can explain it better...

    basically I click on a row and have a userform pop up. if I click on a fail button within my userform, I want to take the active row and column "B" and place that information on the next open row column "B on the sheet I have referenced "Deficiencies". Then do the same with column "C", "D" etc...

    I use active sheet and active row commands due to I am using the same code in multiple sheets and rows. All compiling a list in the same "deficiencies" sheet.

    I am taking some information from the userform and placing it back into the active sheet and active row using similar code to the above method and it works. just trying to extract it and place it in another sheet.

  4. #4
    Registered User
    Join Date
    12-18-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    30

    Re: copying cell values from an active row using the offset function

    it works if I take out activesheet.

    Top code works. Bottom code does not.

    Please Login or Register  to view this content.

+ 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. Using offset function to select a range of cells based on active cell location
    By laxminarayana in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-25-2017, 07:49 AM
  2. Help recognizing a pattern when copying cells. OFFSET function?
    By madboy9 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2017, 08:43 PM
  3. Replies: 1
    Last Post: 08-26-2016, 12:38 PM
  4. [SOLVED] Userform to add data to active cell offset
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 12-14-2013, 07:58 PM
  5. [SOLVED] Macro to look up and down from the active cell, copying the active "section" of the sheet
    By mikkola in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2013, 07:21 PM
  6. Running a different Active.Cell Offset.....
    By Kirtman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 05:52 AM
  7. match & offset copying values
    By RobAndrews in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-14-2009, 07:55 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