´ñ±Û : 11 °³
Çѱ¹ µ¨ÆÄÀÌ µ¿È£È¸ µ¨¸¶´ç
»çÀÌ»çÀÌ
(¹®È£»ó)
 
¿¢¼¿ 2016ºÎÅʹ ¸íĪÀÌ ´Þ¶óÁø°Å °°±º¿ä ¾Æ·¡ ¼Ò½º¸¦ Âü°íÇϼ¼¿ä
Dim xl As Object
If ClassIdExists("Excel.Application") Then
    Set xl = CreateObject("Excel.Application")
ElseIf ClassIdExists("Excel.Application.16") Then
    Set xl = CreateObject("Excel.Application.16")
Else
    MsgBox "Can't locate Excel class."
End If



https://stackoverflow.com/questions/41405937/active-x-error-with-excel-2016-and-late-binding 
2019-05-18 ¿ÀÀü 1:22:46
peace
(°í¿µÈ£)
 
¾Æ °¨»çÇÕ´Ï´Ù. 
±×·±µ¥
CreateObject('Excel.Application.16') À¸·Î Çصµ ¿À·ù°¡ ¶ß°í ÀÖ¾î¿ä.  

https://superuser.com/questions/1216190/the-system-cannot-find-the-file-specified-error-for-createobjectexcel-applic 
2019-05-19 ¿ÀÀü 6:52:55
modori
(±èȫö)
 
±¸±Û¸µÀ» Çغ¸´Ï ´ÙÀ½ °°Àº ÀÚ·á°¡ º¸À̳׿ä..

- fixed. excel had the wrong path in dcom 

- How did you change the path? I am facing the same issue. 

- CD C:\Program Files (x86)\Microsoft Office\Office14 

or whatever office you have

then do a 

EXCEL.EXE –REGSERVER 

reboot after and see if that helps. let me know if it doesnt

https://community.spiceworks.com/topic/2019457-vbs-80070002-when-opening-excel ÂüÁ¶ÇϽñ¸¿ä..
Àß µÇ±æ ºô°Ú½À´Ï´Ù.. 
2019-05-20 ¿ÀÀü 10:20:20
peace
(°í¿µÈ£)
 
¾Æ °¨»çÇѵ¥¿ä,
Á¦°¡ Å×½ºÆ®Çغ» ¿¢¼¿ 2016¿¡¼­´Â ¸ðµÎ ¿À·ù°¡ ¶å´Ï´Ù.
¼³Ä¡°¡ À߸øµÇ¾ú°Å³ª °æ·Î ¹®Á¦´Â ¾Æ´Ñ°Í °°¾Æ¿ä.
2010 À̳ª 2013¿¡¼­´Â Àß Á¤»óÀÛµ¿ÇÏ°í ÀÖ±¸¿ä. 
2019-05-20 ¿ÀÈÄ 5:10:02
Ŷû
(À±¼ºÅÂ)
 
uses ¹®Àå¿¡ ComObj¸¦ ¼±¾ðÀ» Çß³ª¿ä?
(Àúµµ µ¨ÆÄÀÌ7¿¡ ¿¢¼¿2016»ç¿ëÇÕ´Ï´Ù.) 
2019-05-21 ¿ÀÈÄ 3:25:00
peace
(°í¿µÈ£)
 
´äº¯ °¨»çÇÕ´Ï´Ù.
³× ComObj ¼±¾ðÇß±¸¿ä, ¼ö³â°£ ¿¢¼¿2007~2013±îÁö ¹®Á¦°¡ ¾ø¾ú½À´Ï´Ù.
¿À~ ±×·±µ¥ ¿¢¼¿ 2016¿¡¼­µµ ¹®Á¦¾ø´Â °æ¿ìµµ ÀÖ±º¿ä.
Á¦ ÁÖº¯ÀÇ PC´Â À©µµ¿ì10 Home ¹öÀüµéÀε¥, ¿¢¼¿2016ÀÌ ±ò¸° 3´ë ´Ù ¿À·ù°¡ ¹ß»ýÇß¾î¿ä. Å¶û´ÔÀÇ OS´Â ¾î¶»°Ô µÇ´ÂÁö¿ä? 
2019-05-21 ¿ÀÈÄ 4:37:57
Ŷû
(À±¼ºÅÂ)
 
»ç¿ëÇϴ pcÀÇ os´Â À©µµ¿ì7 °ú À©µµ¿ì10 ÀÔ´Ï´Ù..
»ç¿ëÇϴ ¿¢¼¿ ¹öÀüÀº ms office home 2010 °ú 2016 ÀÔ´Ï´Ù..
Ưº°È÷ ¿¡·¯³ª´Â pc´Â ¾ø¾ú½À´Ï´Ù. 
2019-05-21 ¿ÀÈÄ 5:20:35
Ŷû
(À±¼ºÅÂ)
 
Àúµµ Ãʺ¸¶ó ¼³¸íÀÌ ¾î·Á¿ö¼­..±Ü¾î ºÙ¿© º¾´Ï´Ù..
----------------------------------------------
procedure TFrmYno.sSpeedButton12Click(Sender: TObject);
var
   v: Variant;
   i, j: Integer;     //IÁÙROW  JÄ­ COLUM
begin  //uses ¹®Àå¿¡ ComObj¸¦¹Ýµå½Ã ¼±¾ðÀ» ÇÏ¿©¾ß ÇÔ.
  If MessageDlg( '°á°ú°ªÀ» ¿¢¼¿·Î Ãâ·ÂÇÕ´Ï´Ù!',mtConfirmation,[mbNo,mbYes],30) <> mrNo Then
   Begin
     v := CreateOLEObject('Excel.Application');
     v.workBooks.Add;
     v.cells.Range[v.Cells.Item[1,1], v.Cells.Item[1,12]].Font.Size := 10;
     v.Cells[1,1].Value := '±Ç¸®';
     v.Cells[1,2].Value := '´ç¼Ò¹øÈ£';
     v.Cells[1,3].Value := 'Ãâ¿ø¹øÈ£';
     v.Cells[1,4].Value := '¼öÀÓÀÏÀÚ';
     v.Cells[1,5].Value := 'Ãâ¿øÀÏÀÚ';
     v.Cells[1,6].Value := 'µî·ÏÀÏÀÚ';
     v.Cells[1,7].Value := 'Æ÷±âÀÏÀÚ';
     v.Cells[1,8].Value := '´ã´çÀÚ';
     v.Cells[1,9].Value := 'Ãâ¿øÀÎ';
     v.Cells[1,10].Value := '´ë¸®ÀÎ';
     v.Cells[1,11].Value := '±Í¼Ò¹øÈ£';
     v.Cells[1,12].Value := 'SSµî±Þ';
     v.Cells[1,13].Value := 'C±¹°¡';
     
     v.cells.Range[v.Cells.Item[1,1], v.Cells.Item[1,13]].Font.Bold := True;
     v.cells.Range[v.Cells.Item[1,1], v.Cells.Item[1,13]].HorizontalAlignment :=$00000003; //$00000002 ´Â ¿ÞÂÊÁ¤·Ä

     i := 0;
     wwDBGrid1.DataSource.DataSet.First;
     While Not wwDBGrid1.DataSource.DataSet.Eof Do
      Begin
         i := i + 1;
         for j := 1 to wwDBGrid1.FieldCount do
          begin
             v.Cells[i+1,j].Value := wwDBGrid1.Fields[j-1].AsString;
          end;
         wwDBGrid1.DataSource.DataSet.Next;
      End;
     v.cells.Range[v.Cells.Item[2,1], v.Cells.Item[100,wwDBGrid1.FieldCount]].Font.Size := 10;
     v.Columns.AutoFit;
     v.Visible := True;
   End;
end;
---------------------------------------------------------------- 
2019-05-21 ¿ÀÈÄ 5:28:39
peace
(°í¿µÈ£)
 
´äº¯ °¨»çµå·Á¿ä.
°á±¹ ¿¢¼¿ 2016¿¡¼­ CreateOLEObject('Excel.Application') °¡
µ¿ÀÛÇϴ°æ¿ì°¡ ÀÖ°í, ¿¡·¯¸¦ ³»´Â °æ¿ì°¡ ÀÖ³ª º¾´Ï´Ù. 
¾Æ ÀÌ°É ¾î¶»°Ô ÇØ°áÇؾߠÇÒÁö¿ä? 
Ȥ Àúó·³ ¿¡·¯³µÀ»¶§ ÇØ°áÇØ º¸½Å ºÐ ¾øÀ¸½ÅÁö¿ä? 
2019-05-21 ¿ÀÈÄ 8:42:24
¾Æ³¦¾øÀÌÁִ³ª¹«
(¼Û°­½Ä)
 
¿¢¼¿ÀÌ ¼³Ä¡ µÇ¾î ÀÖÁö ¾Ê´õ¶óµµ ¿¢¼¿ÆÄÀÏÀ» »ý¼ºÇÒ¼ö Àִ ÄÄÆ÷³ÍÆ®¸¦ È°¿ëÇغ¸¼¼¿ä.

http://www.nika-soft.net/nativeexcel3/index.htm
 
2019-06-11 ¿ÀÈÄ 3:10:30
ÀÌ¿µÈ£
(ÀÌ¿µÈ£)
 
try
  xls := CreateOLEObject('Excel.Application');
  xls.WorkBooks.Add;//Ȥ½Ã ÀÌ°Í ºüÁø°Í ¾Æ´Ï¿¡¿ä
 except
  ....
  exit;
 end; 
2019-06-24 ¿ÀÈÄ 3:40:55