+ Reply to Thread
Results 1 to 2 of 2

Excel Table not extending date column down with VBA, but rest works ok?

  1. #1
    Registered User
    Join Date
    05-30-2013
    Location
    England
    MS-Off Ver
    Excel Mac V16.68 and Excel 2019
    Posts
    33

    Excel Table not extending date column down with VBA, but rest works ok?

    Hi Group,
    You kindly helped me with some VBA a year ago and I managed to adapt it to so many things - thankyou so much.

    I'm a bit stuck with something that used to work, but I'm sure suddenly stopped.

    It's a table like this:

    Screenshot 2020-12-06 at 21.57.32.png

    So that it does this:

    Screenshot 2020-12-06 at 21.58.24.png

    The code I managed to get working in a similar tab works, but I just can't seem to solve this despite my brain nearly exploding

    This is the code:

    Please Login or Register  to view this content.
    When I run this, it does this, and extends the table, but not the dates in column B:

    Screenshot 2020-12-06 at 21.59.53.png

    (fields C72 - C76 have a formula in and would automatically calculate, but for some reason, the Macro has stopped dragging the date down to the current month).

    I'm sure it must be something simple, and I've really tried to emulate another sheet in another workbook I have but I'm totally stuck. I just wondered if anyone could see anything obvious?

    Any help greatly appreciated.

    Best Regards,
    Paul
    Last edited by atombomb99; 12-06-2020 at 06:00 PM.

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: Excel Table not extending date column down with VBA, but rest works ok?

    Hi atombomb99,
    Have you tried running the macro by pressing F8 (when in VBA) one line at a time to see which line it messes up at? Knowing that will be helpful. Also note which line it determines is the last line in B with a value.

    Squeaky

+ 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. Adding a column to a pivot table without affect the rest
    By mikethomas1519 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-29-2020, 11:05 AM
  2. Link column to rest of table
    By tosteven in forum Excel General
    Replies: 0
    Last Post: 07-28-2016, 11:09 AM
  3. 1st Array formula works, but rest does not
    By BuddJ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2016, 10:33 PM
  4. Replies: 3
    Last Post: 04-17-2014, 09:50 PM
  5. Replies: 0
    Last Post: 04-26-2013, 08:51 AM
  6. Replies: 4
    Last Post: 11-04-2012, 06:25 PM
  7. [SOLVED] How to delete a section of column extending to 2nd page in Excel?
    By carequest in forum Excel General
    Replies: 2
    Last Post: 06-11-2006, 02:55 AM

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