Choose certain macro based off which cell(s) are not blank?

c.clavin

Board Regular
Joined
Mar 22, 2011
Messages
130
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi guys, I'm trying to run 4 different macros based off how many of the 4 cells are not empty.

The cells are B2, B8, B14, B20.

If cells B8, B14, B20 are blank, then Macro 1,
If cells B14, B20 are blank, then Macro 2, etc.

Is this possible in Google Sheets? I'm not familiar with Google Sheets unfortunately. Thanks :)
 
If you are working in Google sheets, you have to use the Google sheets macro language. If you are not familiar with Google sheets, how did you write the four different macros? Or are they not written yet? It would help to have any macro code you have to start with. If you have no code at all, you need to specify what each of the four macros is supposed to do.
 
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,926
Members
453,767
Latest member
922aloose

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top