Hi folks,
I have a spreadsheet (in Excel 2007), which I use for formatting the output from a database. In 3 of the columns, I have concatenated two database fields, with the data separated by a semi-colon. To display these columns in the least amount of horizontal space, I replace the semi-colon with a line break, Alt-Enter.
So far, I have not been able to figure out a way to automate that process, and have been forced to do it manually.
Search and Replace within Excel will find the semi-colon, but will not accept the Alt-Enter as a valid entry in the Replace field. So I copied several rows including the column(s) of interest to WordPerfect, and was easily able to replace the semi-colon with a hard return, and keeping the now two lines within the same cell.
However, when I copied that data back to a blank spreadsheet, it stuck every one of those new lines in a separate row. It wouldn’t keep the cell data together. My embedded hard return was treated as the end of line, so everything after that was put in the next row.
I had thought about inserting the code for the Alt-Enter in the database output, but was not able to find the appropriate ASCII code for that function.
I also tried to use the record macro function to record the steps, but it didn’t like the Ctrl-F function.
I have attached a sample of the data, with examples of both the final result and the starting data.
TIA for any assistance.
Rich