Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when insert image to excel #2166

Open
bangpc opened this issue Jan 9, 2024 · 0 comments
Open

Bug when insert image to excel #2166

bangpc opened this issue Jan 9, 2024 · 0 comments

Comments

@bangpc
Copy link

bangpc commented Jan 9, 2024

  • Expected behavior and actual behavior.
    • Expect insert image successfully
  • Steps to reproduce the problem.
    • Using pywin32 to connect to excel app and open excel file
    • Access sheet sheet = workbook.Sheets("Sheet1")
    • Insert image
       picture = sheet.Pictures().Insert("2.jpg")
       picture.Top = sheet.Cells(5,3).Top
       picture.Left = sheet.Cells(5, 3).Left
      
  • Version of Python and pywin32:
    • Python: 3.9
    • pywin32: pywin32-306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant