Category Archives: Office

open external program from java for mac os x

Posted in Java, Mac, Office | Leave a comment

protect data validation to fail while copy and paste data

source: Ensuring That Data Validation Is Not Deleted

Posted in Excel | Leave a comment

[Java] Write xls files

Posted in Excel, Java | Leave a comment

[Excel] Find the latest value

If we want use excel to get the value F.

The common method is using the upper mathematical formulas. But if we adjust the columns, we may get the wrong value because there are some exceptions in the reference … Continue reading

Posted in Excel | Leave a comment

物件名稱包含變數 + 應用紀錄

Posted in PowerPoint | Leave a comment

設定元件Visible屬性

記得當visible=msoTure (-1) 時要一併移到前面 否則會看不出效果

Posted in Office, PowerPoint | Leave a comment

當投影片切換時 (VBA)

Posted in Office, PowerPoint | Leave a comment

Powerpoint VBA: 取得當前Slide編號

主要有兩種 1.

此處主要是在一般狀態下 (非簡報播放) 適合用來Debug 2.

此處主要是當簡報播放情況下 ( 所以一般Debug模式會出錯 ) 以下為實際應用

Posted in Office, PowerPoint | Leave a comment

PowerPoint巨集,將物件移到最前面

查詢物件名稱

將物件移到最前面

Posted in Office, PowerPoint | Leave a comment

Excel 跳格計算

這是怪獸兩個多禮拜以前問的… 當時在首都上就沒辦法幫他找了 剛剛才想到有這個問題…Orz 真的老了 網路上找了一下相關的問題 使用下列就可以解決了 =SUM(IF(MOD(ROW(A1:A65535),5)=2,A1:B65535)) 按下ALT+SHIFT+ENTER變成陣列運算 其中主要是用MOD 5餘2的儲存格來計算 後面的A1:B65535主要就是要計算的範圍

Posted in Excel | Leave a comment