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

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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,214,978
Messages
6,122,545
Members
449,089
Latest member
davidcom

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