Results 1 to 11 of 11

Thread: VBA Dynamic Start Rows

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    VBAX Tutor
    Joined
    Oct 2012
    Posts
    298
    Location
    Hi @snb you kindly replied to my post with a suggestion for a change in my code.

    Could you please have a look at the line you suggested because when I've tried to use this, it appears as if there is something missing from the end because VB editor highlights the line in red.

    Could you also tell me please how the following section of code needs to be changed as shown in my original post as this is looking for the 'coldates' variable replaced by your line of code.

    On Error Resume Next
                        m = ColDates(Format(PDate, "mmm yy")) 
                       Err = 0  .Offset(j, m) = .Offset(j, m) + AFTE 
                        On Error Goto 0
    Many thanks and kind regards

    Chris
    Last edited by hobbiton73; 08-06-2014 at 06:56 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •