Board logo

標題: 圖片放在附註,圖片路徑問題 [打印本頁]

作者: tim5612    時間: 2015-3-31 12:00     標題: 圖片放在附註,圖片路徑問題

請問各位
我如果把圖放在"C:\TEST\",讀取圖檔完全沒有問題
但我如果把圖放在"C:\Program Files\Parse\ImageStore"
圖檔完全讀取不到
請問這問題有人遇到過嗎?

EXCEL VBA新手提問
  1. Range().Select
  2. Range("A1").AddComment
  3. Range("A1").Comment.Visible = False
  4. Range("A1").Comment.Text Text:=""
  5. Range("A1").Select
  6. Range("A1").Comment.Visible = True
  7. Range("A1").Comment.Shape.Select True

  8. Selection.ShapeRange.Fill.Transparency = 0#
  9. Selection.ShapeRange.LockAspectRatio = msoTrue
  10. Selection.ShapeRange.Line.Weight = 0.75
  11. Selection.ShapeRange.Line.DashStyle = msoLineSolid
  12. Selection.ShapeRange.Line.Style = msoLineSingle

  13. Selection.ShapeRange.Line.Transparency = 0#
  14. Selection.ShapeRange.Line.Visible = msoTrue
  15. Selection.ShapeRange.Line.ForeColor.RGB = RGB(0, 0, 0)
  16. Selection.ShapeRange.Line.BackColor.RGB = RGB(255, 255, 255)
  17. Selection.ShapeRange.Fill.Visible = msoTrue
  18. Selection.ShapeRange.Fill.ForeColor.RGB = RGB(255, 255, 255)
  19. Selection.ShapeRange.Fill.BackColor.SchemeColor = 80
  20. Selection.ShapeRange.Fill.UserPicture "C:\TEST\"
複製代碼





歡迎光臨 麻辣家族討論版版 (http://forum.twbts.com/)