Quote:
|
Originally Posted by shades
Howdy and welcome to the board.
Not sure of your level of VBA, but in code it is relatively easy. You could use use either IF THEN clause or use Select Case with several cases based on i.e. Cells(3,5).Value = 44. If this isn't clear, post back.
|
Thanks for the reply buddy.
My thing is I'm new to
VB coding....I just use the 'record macro' function. I'm facing a problem where I'm trying to insert a line according to values in an adjacent cell.
For example; My first column has data as follows:
publication 1
publication 1
publication 1
publication 2
publication 2
publication 2
publication 2
publication 3
publication 3
So what I need is that I need a line break between publications (i.e. whenever I come across a new publication in the column)......and I wanted to know how I could do that by way of an IF statement since I don't know how to insert a line by code.
If that makes it any clearer please let me know.....or I can put up a printscreen too
Thanks
