View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mikec007 Mikec007 is offline
external usenet poster
 
Posts: 3
Default PasteExcelTable does not work in OS X

Something that I ran into today. When pasting a range from excel into
a new word document,

Section.PasteExcelTable

works great in windows but errors in Office 2011 for Mac.

I also had the problem when first writting the code.

wdApp.Selection.PasteExcelTable(False, False, True) gives a syntax
error looking for an "="

but wdApp.Selection.PasteExcelTable False, False, True works just fine.