ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¨Ï¥ÎVBA §âAccess¶×¤J¨ìExcel ¬°¦ó¼Æ¦r·|§ïÅÜ?

¨Ï¥ÎVBA §âAccess¶×¤J¨ìExcel ¬°¦ó¼Æ¦r·|§ïÅÜ?

§Ú¦bExcel¦³¼gVBA    °õ¦æªº¸Ü ¥i¥H§âAccess¸Ì­±ªºªÑ²¼¸ê®Æ¶×¤J¨ìExcel
¦ý¬O¬°¤°»ò§ÚAccessªº¼Æ¦r¶×¨ìExcel«á    ¼Æ¦r·|¦h¥X«Ü¦h¤p¼ÆÂI¥X¨Ó©O?
ex: ¦bAccess¸Ì­± ¶}½L»ù¬O51.60   ¶×¤J¨ìExcel«á ¶}½L»ù«o·|Åܦ¨51.599998474121(¥´¶}Excel¬ÝB2Àx¦s®æ)
½Ð°Ý¤j¤j   ¬°¤°»ò·|µo¥Í³o°ÝÃD?    ½Ð¤j¤jÀ°§Ú¸Ñµª

ªþ¥ó-
QQ.rar (36.81 KB)
¤j®a¤¬¬ÛÀ°¦£¸Ñ¨M°ÝÃD,¤~·|¶i¨B

¦^´_ 1# ³\·ç²»
¬Ý°_¨ÓÀ³¸Ó¬O­pºâ»~®t,
§Úı±o¥¦¬O¥Î¯BÂI¤p¼Æ§@¬°­pºâ¹Lµ{¤¤ªº¸üÅé,
©Ò¥H·|¥X²{¦¹±¡§Î.
§A¥i¥H¸Õ¸ÕŪ¨ú¸ê®Æ«á¥[¬qµ{¦¡½X(¨Ò¦p³z¹L Format ¨ç¼Æ,©Î¬Oª½±µ¥ÎRound(a*100)/100­pºâ¦¡)°µ­×¥¿.

TOP

¦^´_ 2# luhpro


    ¥i¥H½Ð¤j¤j°µ­Ó½d¨Ò¶Ü!?
§Ú¤£ª¾¹D¸Ó«ç¼Ë§âFormat¨ç¼Æ¼g¦bµ{¦¡¸Ì­±
ÁÂÁ¤j¤j
¤j®a¤¬¬ÛÀ°¦£¸Ñ¨M°ÝÃD,¤~·|¶i¨B

TOP

¦^´_ 3# ³\·ç²»
  1. Sub nn()
  2.   Dim lRow&, iCol%
  3.   lRow = 2
  4.   With Worksheets("¤U¸üªºªÑ²¼¸ê®Æ")
  5.     Do While .Cells(lRow, 2) <> ""
  6.       For iCol = 2 To 5
  7.         With .Cells(lRow, iCol)
  8.           .Value = Format(.Value, "0.00")
  9.         End With
  10.       Next
  11.       lRow = lRow + 1
  12.     Loop
  13.   End With
  14. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¤Hªº¤ß¦a¬O¤@²¥¥Ð¡A¤g¦a¨S¦³¼½¤U¦nºØ¤l¡A¤]ªø¤£¥X¦nªºªG¹ê¡C -
ªð¦^¦Cªí ¤W¤@¥DÃD