Can this be done in VBA?

thetexan1

New Member
Joined
Aug 3, 2017
Messages
1
I want to create an excel test for persons wanting to apply for an excel position.

I want the test question to require the person to perform some given task in an actual excel spreadsheet (the programming will open excel with the sheet in question available)

What I want to know is...
1. Can this be done with VBA?
2. Does VBA have the functionality to test the results for proper completion?

For example...

If I want the person to Merge and center a range USING THE FORMAT DIALOG BOX rather than simply hitting the Merge and Center Button is there a way VBA can test to see that the range is indeed merged and centered AND that it was merged and centered by the specified method?

You don't need to get detailed here. I'm looking for basically a yes or no to those questions.

thanks

tex
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Why not just remove the Alignment tab from the ribbon?
 
Upvote 0
Hello Tex,

What about a simple tailor-made UDF to return True/ False...?

HTH
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,708
Messages
6,174,006
Members
452,542
Latest member
Bricklin

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