Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

12. The file Stock Prices.xlsx contains monthly adjusted closing prices, adjusted for dividends and stock splits, for WalTechs stock from 2007 to early 2015. a.

12. The file Stock Prices.xlsx contains monthly adjusted closing prices, adjusted for dividends and stock splits, for WalTechs stock from 2007 to early 2015.

a. Write a sub called RecordHigh1 that takes a single argument called serachPrice. This sub searches down the list of prices for the first price that exceeds the searchPrice argument. If it finds one, it displays the corresponding date in a message, something similar to, The first date WalTech stock price exceeded_was_. If the price never exceeded the argument searchPrice, it displays a message to this effect. Next, write a Records sub that uses input box to ask the user for a price and then calls RecordHigh1 with this price as the argument. Need to create two subs as instructed. All the information is provided in the question so just read carefully and address all the requests of the question.

Adjusted closing prices

Date

Price

Jan-03

12.940

Feb-03

12.794

Mar-03

12.848

Apr-03

12.444

May-03

12.725

Jun-03

12.962

Jul-03

13.460

Aug-03

13.521

Sep-03

14.221

Oct-03

14.540

Nov-03

15.423

Dec-03

15.422

Jan-04

15.360

Feb-04

15.387

Mar-04

15.132

Apr-04

12.890

May-04

13.566

Jun-04

12.778

Jul-04

12.267

Aug-04

12.432

Sep-04

11.785

Oct-04

12.534

Nov-04

13.553

Dec-04

12.065

Jan-05

12.525

Feb-05

13.349

Mar-05

12.395

Apr-05

12.009

May-05

11.138

Jun-05

11.574

Jul-05

12.247

Aug-05

12.071

Sep-05

11.159

Oct-05

11.115

Nov-05

11.437

Dec-05

10.357

Jan-06

10.899

Feb-06

11.657

Mar-06

12.446

Apr-06

11.559

May-06

12.199

Jun-06

12.873

Jul-06

13.131

Aug-06

12.038

Sep-06

12.160

Oct-06

10.508

Nov-06

11.794

Dec-06

10.681

Jan-07

10.050

Feb-07

10.227

Mar-07

11.367

Apr-07

11.528

May-07

12.622

Jun-07

12.222

Jul-07

11.681

Aug-07

13.119

Sep-07

12.777

Oct-07

13.199

Nov-07

12.424

Dec-07

11.304

Jan-08

11.738

Feb-08

13.188

Mar-08

13.759

Apr-08

13.786

May-08

14.866

Jun-08

16.463

Jul-08

18.700

Aug-08

17.678

Sep-08

18.324

Oct-08

16.926

Nov-08

19.424

Dec-08

19.744

Jan-09

19.332

Feb-09

23.170

Mar-09

24.827

Apr-09

24.563

May-09

27.624

Jun-09

29.684

Jul-09

31.817

Aug-09

29.215

Sep-09

27.408

Oct-09

34.566

Nov-09

37.370

Dec-09

40.718

Jan-10

41.905

Feb-10

43.041

Mar-10

46.263

Apr-10

45.399

May-10

42.739

Jun-10

48.597

Jul-10

41.695

Aug-10

44.399

Sep-10

47.114

Oct-10

55.809

Nov-10

57.160

Dec-10

69.213

Jan-11

55.584

Feb-11

48.644

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions