+ Reply to Thread
Results 1 to 5 of 5

Code not working exactly, copy and paste issue

  1. #1
    Registered User
    Join Date
    01-19-2009
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel 2016
    Posts
    41

    Code not working exactly, copy and paste issue

    I am so close, but just can't seem to make this work. I am trying to get the formulas to work on Sheet 3, the rows formated to percentages correctly, but they are not reading the totals in row 2 to make the formula complete.
    I also want this to run more than one number, I would prefer a range for example value >= 1.29 so that Sheet 3 shows all items less than 1.29.

    Here is the code I am using"
    Please Login or Register  to view this content.
    I also think there is some code here that I do not need as I have been tweaking it, and it seems to run with or without some items.

    thanks for the help, I attached a file for further reference.
    Attached Files Attached Files
    Last edited by jpthelpguy; 01-22-2009 at 01:20 AM. Reason: Value Change

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    See if this give you some ideas.

    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    01-19-2009
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel 2016
    Posts
    41
    Rylo, that did exactly what I asked for, however now that I see it, how to keep the - numbers from showing up. I only need <= 1.29 to 0.00. Is there a but? code that I could plug into that?

  4. #4
    Registered User
    Join Date
    01-19-2009
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel 2016
    Posts
    41

    Got it Done!

    Disregard and Thank you Rylo...

    You got me on the way, I figured it out. I pasted the code below for anyone else who runs across that issue.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-19-2009
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel 2016
    Posts
    41

    Spreadsheet Adds a Row

    When I solved this, I was using my laptop, and it worked with the first Code. However, at the office, my spreadsheet added a line. I found that it was caused due to the hidden = true part of the code. Here is the same code altered slightly which seems to work in my version at the office now.

    Please Login or Register  to view this content.

    Note: The change is in the "IF NOT" line of code.

+ 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