+ Reply to Thread
Results 1 to 4 of 4

AutoFill Troubleshooting

  1. #1
    Registered User
    Join Date
    07-21-2014
    Location
    Georgia
    MS-Off Ver
    Office 2013
    Posts
    17

    AutoFill Troubleshooting

    (This is part of a much larger macro, I can provide more if necessary)
    When I use the following function and Column H is empty below H1, the word TEMP is being copied to cell F1 and overwriting my header. I assume this is because Row 1 is being flagged as my LastRow. When there is data in H2 or below I do not have this bug.

    Please Login or Register  to view this content.
    How would I go about making it do NOTHING if H2 is empty? I'm thinking an If statement, but I'm yet to do any in VBA. Would this work? H1 is my header, "VIN". (I'm learning!)

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    10-14-2014
    Location
    Italy
    MS-Off Ver
    2010
    Posts
    4

    Re: AutoFill Troubleshooting

    Why do you want to use Autofill?
    And that's not even a formula.
    If Column H is your benchmark,
    Try:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-21-2014
    Location
    Georgia
    MS-Off Ver
    Office 2013
    Posts
    17

    Re: AutoFill Troubleshooting

    Quote Originally Posted by lelouchevi View Post
    Why do you want to use Autofill?
    And that's not even a formula.
    Haha, I warned I was learning!

    AutoFill is what gets generated when I start my macros using the macro recorder; I learn best by picking things apart. I've just recently started using the lastRow functions.

    I currently don't have any VINs to process so your formula appeared to work perfectly in that aspect - no more messed up header! I should have new data this afternoon to try when I actually have VINs.

    Thank you!

  4. #4
    Registered User
    Join Date
    10-14-2014
    Location
    Italy
    MS-Off Ver
    2010
    Posts
    4

    Re: AutoFill Troubleshooting

    Sorry but it's not entirely correct.

    Please Login or Register  to view this content.
    This will work even if column H is empty till H3 and H2 is not.

+ 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. Need help troubleshooting userform
    By dragonabsurdum in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-30-2013, 03:03 PM
  2. Troubleshooting the worksheet?
    By fatmermaid in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-08-2011, 10:24 AM
  3. Autofill data troubleshooting - skipped cells
    By drugramps in forum Excel General
    Replies: 3
    Last Post: 05-14-2010, 06:31 PM
  4. troubleshooting SUMPRODUCT
    By rob_barbour in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2007, 01:50 PM
  5. Troubleshooting my IF formula
    By Kim in forum Excel General
    Replies: 5
    Last Post: 06-26-2006, 06:15 PM

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