Results 1 to 4 of 4

VBA macro to insert row based upon set format

Threaded View

  1. #1
    Registered User
    Join Date
    09-03-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    30

    VBA macro to insert row based upon set format

    Hi,

    I'm having trouble writing a macro that will work in a number of spreadsheets that are at times not consistent in their formatting.

    I need the set repetition of the following:

    Date StartHour
    Date 6
    Date 7
    Date 8
    Date 9
    Date 10
    Date 11
    Date 12
    Date 13
    Date 14
    Date 15
    Date 16
    Date 17
    Date 18
    Date 19

    But unfortunately where there are complete gaps in a row of data it is ignored. Is there any vba code to search that this occurs and then insert a row with the correct date and time?

    Thanks for any help with this.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to Format/Insert/Send
    By JosueDG in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2012, 12:25 AM
  2. Replies: 1
    Last Post: 01-27-2012, 05:54 PM
  3. Copy and insert rows with contents and format based on specific number
    By fatalcore in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-13-2012, 03:38 AM
  4. Insert Row macro to copy down Conditional Format & functions
    By Foxcan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-07-2009, 02:16 PM
  5. Insert Tab and format as Macro
    By sayasimpson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2007, 03:16 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