If-Then-Else Control Structure

excel11

New Member
Joined
Apr 5, 2011
Messages
3
Hi

I'm stuck on a problem for one of my assignments. The problem reads as:

Write an If-Then-Else control structure inside the NewOrderMacro to test whether either cell C6 or cell C9 is empty. Write the condition using the Or operator that evaluates if either range value is equal to an empty string, indicated by two quotation marks with no space between them, i.e. “”.

Your help would be appreciated!
 

Some videos you may like

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
55,916
Office Version
  1. 365
Platform
  1. Windows
Welcome to the Board!

I think you will find that most people do not want to do your homework for you. However, if you show a little effort, you will find that people are more willing to help you out.

So my suggestion would be to take a stab at it yourself and see how far you get. When you get stuck, then post back showing what you have done or tried so far.
 

excel11

New Member
Joined
Apr 5, 2011
Messages
3
Welcome to the Board!

I think you will find that most people do not want to do your homework for you. However, if you show a little effort, you will find that people are more willing to help you out.

So my suggestion would be to take a stab at it yourself and see how far you get. When you get stuck, then post back showing what you have done or tried so far.
I kind of expected this response.

I did attempt it, but I haven't really worked with VBA.

I'll give it some more effort. Thanks.
 

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
Welcome to the Board!

You should post what you came up with. ;)
 

Watch MrExcel Video

Forum statistics

Threads
1,122,608
Messages
5,597,143
Members
414,129
Latest member
mr vba

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
Top