DJDarren,
@DJDarren@mendeddrum.org avatar

Can any #Excel experts offer advice on simple ways to make it send an email if a particular condition is met?

A quick search suggests needing to code something in Visual Basic, which is well out of my field of experience.

#LazyWeb

DJDarren,
@DJDarren@mendeddrum.org avatar

Further to this, I think what might be easier (for me, at least) is to automate having my Mac open the spreadsheets at a given time, so I can remember to review them and check whether anything has expired.

That part is relatively straightforward, though it does involve Calendar, Automator, Shortcuts, and whatever app the spreadsheets are in. But once it’s set I can forget about it.

irina,
@irina@eldritch.cafe avatar

@DJDarren that sounds like something you'd need to use VBA to do; but it also sounds like something that isn't a good fit for using Excel at all. whats your end goal?

DJDarren,
@DJDarren@mendeddrum.org avatar

@irina Yeah, it’s quite possible you’re right.

We have a number of equipment registers that are Excel sheets. There’s conditional formatting for when when inspection dates come up (for example), so it would be useful to receive a message rather than having to remember to look, or manually input them all into a calendar.

kincaid,
@kincaid@mendeddrum.org avatar

@DJDarren yeah. VbA is the only way, and only if the sheet is open (or you have a seperate Loop Through All Sheets, check status, email, set sent flag sheet), in which case just use the hyperlink() function to use mailto: and send an email

Or, Office365 and powerautomate if you have that

DJDarren,
@DJDarren@mendeddrum.org avatar

@kincaid So basically, it’s functionally possible, but more of a pain in the ass than the effort is worth?

kincaid,
@kincaid@mendeddrum.org avatar

@DJDarren pretty much. I mean, once it's in place it's a time saver, but you'll have to learn VBA (in reality google 'how to loop through files and send email vba excel'), test it, and maintain it...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Excel
  • DreamBathrooms
  • cisconetworking
  • Durango
  • magazineikmin
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • ngwrru68w68
  • everett
  • kavyap
  • tacticalgear
  • thenastyranch
  • GTA5RPClips
  • JUstTest
  • normalnudes
  • osvaldo12
  • khanakhh
  • cubers
  • ethstaker
  • tester
  • mdbf
  • Leos
  • modclub
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines