I need help with this VBA problem, thank you 2. (a)…

I need help with this VBA problem, thank you 2. (a)… I need help with this VBA problem, thank you 2. (a) Create a function subroutine named AscSum of the type Integer which returns the sum of the digits of the ASCII code of a character. This function must be such that it takes one string variable as the only argument.  For example, if you gave an input “m” to this function, it must return 10 since the ASCII code for lowercase m is 109 and sum of digits = 1 + 0 + 9 = 10. Now if you gave an input “+” to this function,  it must return 7 since the ASCII code for the plus sign is 43 and sum of digits = 4 + 3 = 7.  Remember that if you use Len(variable) and you want it to work properly when the variable is completely numeric, ensure that your variable is of type String even if it is a number. You might run into errors if you don’t write CStr(Asc(character)) and store it to a string variable.   (b) The sheet “Cryptic Messages” contains a table which shows an original character and a new character next to it. Your goal would be to create a program that can encode a message. Write a  sub called CrypticKey that does the following (feel free to assume anything that is not specifically  mentioned but do make note of it in your comments):  (i)    Ask the user to enter a message that he/she would like to encode and store this to a string variable. Make sure the user does enter something and that the string does not remain blank.  The user can enter anything they want as the message without any  kind  of restriction on the type of characters or number of words.   Use A3 as the anchor cell for parts (ii) and (iii).   You can feel free to use direct references in part (iv).   (ii)  Use two different arrays to store the characters given in the column titled  “Original character” and the characters given in the column titled  “New character”.  Create your array such that it would be good enough to accommodate any new entries to these lists,  so both of them must be dynamic arrays.   (iii)  We need to encode each character in the message that was provided to us by the user in part  (i).   These characters may not always be alphanumeric,  they might even be some special characters like punctuation marks or spaces in certain cases since the user is free to enter whatever he/she wants. Once you figure out how to go through each character  using appropriate functions and loops, create the cryptic key as has been specified below  by concatenating the code for each character as you loop through them:  ? If the character is present among those characters given in the column  “Original character”,  then replace the character with the corresponding character in the column  “New character” accessing these from the arrays which you just created in part (ii).  ?  If the character is a space, then replace it with a hyphen.   If the character is not listed under “Original characters’ and does not happen to be a blank space either, find the sum of the digits of that character’s ASCII code using the function you defined in part (a). Now replace that character with this sum value in such a way that there would also be a blank space before and after this number.  (iv)  Display the cryptic key you just created in cell H7 with “Key:” written in G7. Also, show this key to your user in a message box as shown below. Image transcription textA B C D E F G H 1 J K L M N O P Q 1Cryptic Messages 3 Original characterNew character 4 a 5 b 6 C… Show more… Show moreFor example,   ResT must be encoded as yz 7 r   The US $600 PhONe must be encoded as r 5 z- 13 L- 9  9  12  12 -h 5 KVz   Be aware that there may be double spaces between the characters of the key you generated depending on what was changed. To make sure your code works correctly, you can make use of the “Does it match?” section on the sheet. Enter one of the given examples as the message and see if it returns TRUE upon comparing the key you printed in H7 and what is given in J13 or J15.  This is what the excel file looks likeImage transcription textFil- Home Insert Page Layout FormulasData Review View Developer Help Tellme what you want lo du A… Show more… Show more Engineering & Technology Computer Science ISEN 230

How it works

  1. Paste your instructions in the instructions box. You can also attach an instructions file
  2. Select the writer category, deadline, education level and review the instructions 
  3. Make a payment for the order to be assignment to a writer
  4.  Download the paper after the writer uploads it 

Will the writer plagiarize my essay?

You will get a plagiarism-free paper and you can get an originality report upon request.

Is this service safe?

All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 20% with the discount code ESSAYHELP