+ Reply to Thread
Results 1 to 4 of 4

Spot of VBA Help

  1. #1
    Registered User
    Join Date
    01-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Spot of VBA Help

    Hello friends,

    Running into a spot of trouble with my macros, and i'm wondering if it's me code that I wrote. Here are really the problematic ones. Basically, i'm working with huge excel files (1 main page that has about 20k rows), and then a subsequent 20 or so pages that also have information relating to the first one.

    Basically I have a ton of macros (Roundabout 90 or so) here that end up going into a bunch of sheets as a validation and vlookups and all that jazz. Luckily I save that as a separate sheet because I know those are going to slow it down a ton. However, things that I HAVE to run on the sheet before those are below.

    Because of how big the sheet is I just run this on 1 column at a time.

    Please Login or Register  to view this content.

    This is a little bit different, basically this is comparing conversion rates of a Unit of Measure, saying if it's the exact same Unit of Measure it doesn't need a conversion, so color it a certain color and then validate it, or if they are not the same UOM and the conversion rate is 1 (In other words, an Each cannot be a Pack etc), so highlight it another color.

    Please Login or Register  to view this content.

    I'm far from being an intermediate VBA user but this is what i've gotten so far. Any ideas as to why this is slowing my sheet down to a total crawl?

    Cheers,

    -Justin
    Last edited by alansidman; 01-07-2014 at 03:47 PM. Reason: Code tags added

  2. #2
    Registered User
    Join Date
    01-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Spot of VBA Help

    Oh, and there are 4 or 5 UOM's that have conversions hence the issue.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: Spot of VBA Help

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (I have added them for you today. Please read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Spot of VBA Help

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Spot the difference
    By Odysseus in forum Excel General
    Replies: 5
    Last Post: 02-02-2010, 10:33 PM
  2. Spot the difference
    By BUSJEDWA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2008, 05:58 AM
  3. X Marks The Spot!
    By henrythompson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-16-2008, 07:21 AM
  4. [SOLVED] I want a name in one spot and it's code in another
    By TwoWheelDemon in forum Excel General
    Replies: 1
    Last Post: 03-17-2005, 01: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