View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kate[_2_] Kate[_2_] is offline
external usenet poster
 
Posts: 9
Default excel to word header

Hi,
I have some code that takes cell contents from excel and puts them
into word using bookmarks, eg
..Selection.GoTo What:=wdGoToBookmark, Name:="Customer"
..Selection.TypeText Text:=CStr(ws.Cells(r, 7).Value)

I've also got a bookmark in the header, but can't seem to access the
header to get the text there.

Any suggestions?

Thanks
Kate