Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Return Quarter of last month
#3
Big Grin 
Thank you Kevin.

I've chosen the global variable on startup because the last month doesn't change today. So for me there is no need to calc it again with every macro i use it in.
Now we have november 15th. The last month will not change in the next two weeks - no matter how often this variable will be recalculated until december 1st. 
So for me it is enough if this variable is calculated once a day when i fire up my PC and get to work.
Hmmmm... maybe it should be better declared as constant Huh


Messages In This Thread
Return Quarter of last month - by BoolTaxCoder - 11-14-2021, 09:34 AM
RE: Return Quarter of last month - by Kevin - 11-15-2021, 02:17 AM
RE: Return Quarter of last month - by BoolTaxCoder - 11-15-2021, 12:45 PM
RE: Return Quarter of last month - by Kevin - 12-04-2021, 09:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)