Microsoft Developer Network > 포럼 홈 > Visual Basic General > Active OLE excel resizing issues
질문하기질문하기
 

답변됨Active OLE excel resizing issues

  • 2008년 3월 27일 목요일 오전 1:33Ohio232Stang 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Currently I'm working on an app that uses and OLE control to display an excel inside of a visual basic program I am using the following code to display my excel inside the OLE object....

     

    oleExcel.CreateEmbed ExcelFilePath
    oleExcel.Action = 7
    oleExcel.SizeMode = 1

     

    when I set the oleExcel.Action = 7 to activate the ole control the excel application doesn't seem to stay bound to the ole control it seems to be bigger than the ole object it self. how do i get the active ole excel object to size the correct way.

답변

모든 응답