Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Line Broken Transfering data to Word
Hi, Im transfering data from excel to MS Word via code.
But i dont know how insert a line broken in a string. Example: X="asdf" Y="zcxv" wdApp.Selection.GoTo What:=wdGoToBookmark, Name:="A" wdApp.Selection.TypeText Text:=X &\n& Y i try use \n but donīt wor -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Line Broken Transfering data to Word
Try
wdApp.Selection.TypeText Text:=X & vbNewLine & Y -- Regards, Tom Ogilvy "mhferreira " wrote in message ... Hi, Im transfering data from excel to MS Word via code. But i dont know how insert a line broken in a string. Example: X="asdf" Y="zcxv" wdApp.Selection.GoTo What:=wdGoToBookmark, Name:="A" wdApp.Selection.TypeText Text:=X &\n& Y i try use \n but donīt work --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Transfering data from a .pdf file to word and then to excel | Excel Worksheet Functions | |||
Automatically Transfering Data from Excel to Word file | Excel Discussion (Misc queries) | |||
transfering data from a table to a line graph | Charts and Charting in Excel | |||
Transfering a row of data to a template word or worksheet | Excel Discussion (Misc queries) | |||
Excel data not transfering to Word. Colums are expanded. | New Users to Excel |