Export excel cells to Word with and defining heading1,2, fontbolt and normal

  • Hi there,

    My excel VBA experience is not good however I want to try something but can't work it out on my own.


    I have a product list that will be different every time.

    The list will take with it different cells to fill in different columns as well.


    So this is the thing, I want a macro that opens Word and does the following;

    Column A; check if the text is font bold or Normal.

    Excel file;Font bold cell will be paste as Wordfile; Heading 1

    Wordfile; Newline

    Excel file;Normal cell - will be paste as Wordfile; Heading 2

    etc. etc. till the end of the list in column A


    Excel

    Word

    Then there is subject in x columns (subject from normal text to bold in the word file)

    And then there is text in the cell crossing Name and Subject. (Cell text normal to normal in the Word file.

    If the specific cell is empty then the Subject should not be transferred to Word.

    See the pictures in this post for more information.

    Excel Word

    Second is actually when there is this >[cell] = ([1,1]) = ([r,c]) in a text cell.

    Then print this in the Word document as the actual referredtext.
    Example

    Excelfile; text text text [1,1] text text
    Wordfile; text text text example text text

    Helping me with this will be appreciated. Thank you

  • This is what I have now


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!