<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Office Development</title><link>https://www.dotnetzone.gr:443/cs/forums/35/ShowForum.aspx</link><description>Ανάπτυξη με το VSTO και το Office SDK</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: MS Excel copy/paste formula</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/41584.aspx</link><pubDate>Thu, 17 Apr 2008 19:33:29 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:41584</guid><dc:creator>panus</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/41584.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=35&amp;PostID=41584</wfw:commentRss><description>Ο κώδικας αντιγράφει μόνο τις τιμες.&lt;br&gt;Υπάρχει κάτι για μορφές ή η λύση της επιλογής του source workbook, αντιγραφή, επιλογή του destination workbook, επικόλληση είναι μονόδρομος;&lt;br&gt;&lt;br&gt;</description></item><item><title>Απ: MS Excel copy/paste formula</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/38651.aspx</link><pubDate>Thu, 27 Dec 2007 18:52:16 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:38651</guid><dc:creator>Παναγιώτης Καναβός</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/38651.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=35&amp;PostID=38651</wfw:commentRss><description>&lt;P&gt;Νομίζω ότι αυτό που ρωτάς, είναι πως να μεταφέρεις στοιχεία από ένα spreadsheet στο άλλο με κώδικα?&lt;/P&gt;
&lt;P&gt;Αυτό μπορείς να το κάνεις γράφοντας ένα macro σε VBA. Αν τα δύο sheets ανήκουν στο ίδιο workbook μπορείς να περάσεις τιμές μεταξύ τους απευθείας γράφοντας κώδικα του στυλ:&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:black;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;Sheet1.Cells(4,5)=Sheet2.Cells(4,5). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Αν βρίσκονται σε διαφορετικά αρχεία, θα πρέπει να γράψεις το macro στο ένα αρχείο και να φορτώσεις το άλλο, π.χ.&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:black;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;Dim&lt;/SPAN&gt; book &lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;As&lt;/SPAN&gt; Workbook&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;Set&lt;/SPAN&gt; book &lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:red;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;=&lt;/SPAN&gt; Workbooks.Open(&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:#666666;FONT-FAMILY:Courier New;BACKGROUND-COLOR:#e4e4e4;"&gt;"c:\other.xls"&lt;/SPAN&gt;)&lt;BR&gt;Sheet1.Cels(4, 5) &lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:red;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;=&lt;/SPAN&gt; book.Sheets(&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:#666666;FONT-FAMILY:Courier New;BACKGROUND-COLOR:#e4e4e4;"&gt;"Sheet1"&lt;/SPAN&gt;).Cells(4, 5)&lt;BR&gt;book.Close&lt;/SPAN&gt;&lt;/P&gt;</description></item><item><title>MS Excel copy/paste formula</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/38648.aspx</link><pubDate>Thu, 27 Dec 2007 18:08:28 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:38648</guid><dc:creator>Δημήτρης Μπούνδρης</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/38648.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=35&amp;PostID=38648</wfw:commentRss><description>&lt;SPAN style="FONT-SIZE:10pt;COLOR:black;FONT-FAMILY:Tahoma;"&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:black;FONT-FAMILY:Tahoma;"&gt;Καλημέρα και Χρόνια πολλά,&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:black;FONT-FAMILY:Tahoma;"&gt;μπορεί κανείς να με βοηθήσει πως μπορώ να κάνω copy/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:black;FONT-FAMILY:Tahoma;mso-ansi-language:EN-US;"&gt;paste&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:black;FONT-FAMILY:Tahoma;"&gt; από ένα spreadsheet Α στο Excel σε ένα άλλο Β χρησιμοποιώντας μια formula;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item></channel></rss>