+ Reply to Thread
Results 1 to 4 of 4

Improving this set of code.

  1. #1
    Registered User
    Join Date
    12-09-2008
    Location
    Tucson, AZ
    MS-Off Ver
    Office 2013
    Posts
    37

    Improving this set of code.

    With the help of many threads on this board and other sites on the net, I've been able to hash together a full piece of VBA scripting for an Excel file, which is honestly my first attempt at writing VBA.

    Thanks to others who've already helped me on another thing I was attempting to accomplish, my macro now works exactly as I need it to.

    This is one section of the code that I'm not comfortable with and I believe there must be a better way to write this to make it cleaner and better code. I'm posting this for my learning purposes so that I can get better at this.

    Please Login or Register  to view this content.
    This code is basically doing the same thing to two different worksheets in this file.

    Thanks in advance

    Chris

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    I can't test this ...
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-09-2008
    Location
    Tucson, AZ
    MS-Off Ver
    Office 2013
    Posts
    37

    Question Almost there..

    SHG,

    That set of code definitely looks more efficient except for that there are different formulas to fill down on each sheet. The formulas look the same except for the final fill down references different fields. Is there still a way to do that in your example?

    Chris

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Doing this a little blind, but I think this should work ...
    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)

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