Python Forum
Can Python be used as a macro language for excel, Word, etc.?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can Python be used as a macro language for excel, Word, etc.?
#6
Hi @CynthiaMoore

Maybe I'm not fully understanding what it is that you're trying to do?

But surely, given the data from Sheet1, would the output in column F, rows 5 through 13, formatted as 'Days to 2 decimal places' not be this?:

Output:
0.00 0.00 0.08 1.00 1.00 29.35 31.35 365.00 366.00
Sig:
>>> import this

The UNIX philosophy: "Do one thing, and do it well."

"The danger of computers becoming like humans is not as great as the danger of humans becoming like computers." :~ Konrad Zuse

"Everything should be made as simple as possible, but not simpler." :~ Albert Einstein
Reply


Messages In This Thread
RE: Can Python be used as a macro language for excel, Word, etc.? - by rob101 - Aug-21-2022, 04:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Has Major Problems as Language Dave 13 3,781 May-20-2022, 10:12 AM
Last Post: stevendaprano
  TIOBE Index for October 2021 - Python programming language number 1! Yoriz 1 1,585 Oct-07-2021, 11:35 PM
Last Post: Larz60+
  a new language based on python Skaperen 0 1,687 Nov-04-2020, 01:54 AM
Last Post: Skaperen
  Is python an interpreted language or a compiled language? GouravDas 1 2,069 Jun-23-2020, 10:38 AM
Last Post: Gribouillis
  what programming language to learn other than python in real mass-production product? Kai 1 2,166 Apr-12-2020, 04:40 AM
Last Post: Larz60+
  Chinese coding language ‘Mulan’ found to be Python fork buran 0 1,765 Jan-22-2020, 04:30 AM
Last Post: buran
  What is the best book for in-depth Python for advanced other-language programmers? user118967 1 2,750 Jun-04-2019, 07:56 PM
Last Post: snippsat
  Coconut - A Functional Language Which Compiles to Python nilamo 2 2,773 Jan-04-2019, 12:01 AM
Last Post: micseydel
  Some Guy Today Told Me Python Isn't A Real Programming Language digitalmatic7 11 10,295 Dec-01-2017, 12:58 PM
Last Post: I_love_py

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020