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!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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.
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,215,862
Messages
6,127,386
Members
449,382
Latest member
DonnaRisso

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