+ Reply to Thread
Results 1 to 3 of 3

Stop insert of a row and filter in ASSET CALC

  1. #1
    Registered User
    Join Date
    09-10-2013
    Location
    Spain
    MS-Off Ver
    Excel 2010
    Posts
    57

    Stop insert of a row and filter in ASSET CALC

    Hi everyone,
    I have a vba code in ASSETS CALC workbook for selecting another workbook (ASSETS) through a user form. The code inserts a specific row in ASSETS, filters data, adds it together, and then copies the final number over to ASSETS CALC. Unfortunately, for some reason, the row that is inserted into the ASSETS workbook is also insterted into the ASSETS CALC workbook and filters are added. Does anyone know how to stop this? I just want the final number to be copied over to ASSET CALC.

    Also,
    Can this line of code be changed so it selects sheet1 in whatever workbook is selected in Listbox1?
    ActiveCell.FormulaR1C1 = "=[assets.xlsx]Sheet1!R28C3"
    Thank you.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-10-2013
    Location
    Spain
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Stop insert of a row and filter in ASSET CALC

    Can someone please help? Thank you.

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Stop insert of a row and filter in ASSET CALC

    Hi jericho14444

    Try this Code for your Private Sub CommandButton2_Click()

    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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. How do I set some wksht formulas to calc. manually and others to calc. automatically?
    By hoboking87 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2013, 08:16 PM
  2. Stop advanced filter when there is no criteria match
    By J4Y in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-05-2013, 05:56 AM
  3. [SOLVED] auto calc on, but have to edit (f2) cells to force re-calc..help!
    By Curt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-13-2006, 02:10 PM
  4. [SOLVED] with random No's calc how can I stop two different columns predic.
    By Excel Problems in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2005, 09:05 AM
  5. How do I automatically start and stop a calc?
    By Jim in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2005, 02:06 PM

Tags for this Thread

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