+ Reply to Thread
Results 1 to 2 of 2

VBA Algorithm Assistance.

  1. #1
    Registered User
    Join Date
    02-15-2008
    Posts
    17

    VBA Algorithm Assistance.

    Hi,

    Ok I am completely and utterly stumped and require some assistance of a VBA guru (hence why I am here obviously).

    I have an excel table structure as attached and I am trying to write it to an html file (I can write and create a file from excel fine).

    The problem I am having is the Algorithm to export my data to HTML.

    If you look at the attached file (dummy data for simplicity) you will notice that the first row of the table will have to "rowspan". Which I can get by using (MergeArea.Rows.Count). I know merged rows are not good but I dont control the source of the data unfortunetly.

    Attachment 216721

    I cannot for the life of me work out the correct algorithm to correctly loop the data and create a string that I can then use to create the HTML.

    If this needs further clarification please dont hesitate to ask.

    I guess the basic question is, how do I succefully export my excel table to HTML using VBA and so that it keeps the row and column integrity.

    Hope this makes sense.

    Regards,

    jmcall10
    Attached Images Attached Images

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA Algorithm Assistance.

    jmcall10

    Is the only attachment the picture?
    If posting code please use code tags, see here.

+ 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