How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask R.R. Jha Your Own Question

R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5366
Experience:  B.Tech
Type Your Homework Question Here...
R.R. Jha is online now
A new question is answered every 9 seconds

Extremely new to VBA. I have a Workbook with four worksheets

Customer Question

Attachment: 2013-04-25_004326_copy_of_excel_compare_test.xls

Attachment: 2013-04-25_004348_copy_of_required_fields_test.xls


I am extremely new to VBA. I have a Workbook with four worksheets in it. The header row on each is numbers. I need to compare the header row on each worksheet against column A in whichever other Workbook I open and hi-light the matching fields in yellow. I have started the macro by coding it to ask for and open the corresponding workbook with the required fields in it. Please note that the required fields file will be a different one each time, as each time I use the Compare Test file, I am using for different clients with different required fields. I was also asked to add a row at the top of the file to include number of blank fields in each required field column. I would be able to attach the test files for your reference. Any assistance would be greatly appreciated.

Submitted: 11 months ago.
Category: Homework
Expert:  Josie-Mod replied 11 months ago.
Hi, I'm a Moderator for this topic. I've been working hard to find a professional to assist you right away, but sometimes finding the right professional can take a little longer than expected.


I wonder whether you're ok with continuing to wait for an answer. If you are, please let me know and I will continue my search. If not, please let me know and I will cancel this question for you. Thank you!
Customer: replied 11 months ago.


Yes, I am willing to wait for an answer. The question should have been listed under computer instead of homework.


 


Thank you.

Expert:  Josie-Mod replied 11 months ago.
Thank you for your continued patience. All academic questions, including those involving programming or computer work, are placed iin the homework categories where there are many computer and programming professionals. We will continue the search for a professional for you.
Customer: replied 11 months ago.


Thank you very much.

Expert:  R.R. Jha replied 11 months ago.
Hi,

I'd be glad to help. Just a few questions

Required field file would be different for each client. But can I assume you would be using same compare test file for all clients?

Are number of blanks to be shown in required field file? And does blank refer to an intermediate blank cell in column A? Like if row 4 col A, which holds '7' were empty, count would be 1 blank?
Customer: replied 11 months ago.

Hello,


 


Thank you very much for your response. In reality, both files are different for each client. When I extract the data from the database, I need to format the file to match up with the numbered headers. I insert a blank column at the beginning of sheet 1, copy the new columns A and B, and paste them over columns A and B in spreadsheets 2, 3, and 4. Then I insert the numbered header exactly as shown in the Compare test file. I have recorded a very simple Macro that does this for me, but need the additional data to complete the formatting.


 


As for the number of blanks, I need an additional row added at the top of the compare test file to show the number of blanks that correspond to the hi-lighted required fields. Number of rows of data will change, but should be compared by column B of sheet 1, as this will always be completed for each row of data.

Expert:  R.R. Jha replied 11 months ago.
Could you please send another compare test file with examples of number of blanks as you wish to have?
Customer: replied 11 months ago.

Thank you.

Expert:  R.R. Jha replied 11 months ago.
Sorry, didn't receive the file. Please attach it the same way you attached two files in your first post.
Customer: replied 11 months ago.

 


For some reason I keep recieving an error message when trying to reply with the new file attached.


 


I need a row above the header row that will designate the count blanks. In some cases this workbook will only contain 1 or 2 rows of data below the header rows, but it could be thousands. I need the countblanks to refer to column B on sheet 1 for the number of rows of data. Please let me know if you need anything further, as I need this completed as soon as possible. I need to work with it early next week.


 


Thank you.

Expert:  R.R. Jha replied 11 months ago.
Ok.

Please upload the compare file, having count blanks examples, at wikisend.com or mediafire.com, then post its download link or id here. Just to make sure I'm getting it right.


Thanks
Customer: replied 11 months ago.

Thank you. I have included the links below. Please let me know if you need anything further.


 


 


http://wikisend.com/download/300000/Excel


 


Excel Compare Test Updated.xlsx

Expert:  R.R. Jha replied 11 months ago.
Received the file. Could you please explain how you've calculated first few blanks - 25, 0, 9, 3?
Customer: replied 11 months ago.

Hello,


 


Unfortunately, I did not calculate, but added a row with numbers as an example. As I mentioned previously, the number of rows of data will be dynamic. I need the calculation to look at column B in sheet 1 to determine the number of rows of data.


 


Thank you.

Expert:  R.R. Jha replied 11 months ago.
Ok, I'll send the code within a couple of hours.
Customer: replied 11 months ago.

Thank you very much for all of your assistance.

Expert:  R.R. Jha replied 11 months ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5366
Experience: B.Tech
R.R. Jha and 11 other Homework Specialists are ready to help you
Customer: replied 11 months ago.

Hello,


 


Thank you so very much. I will test the Macro and let you know if I have any issues.


 

Expert:  R.R. Jha replied 11 months ago.
Sure. And please leave a rating for the answer.


Thanks
Customer: replied 11 months ago.

Hello,


 


Everything with the macro has worked perfectly. Your service has been excellent, and my rating for you reflects this. I can't thank you enough for your assistance.

Customer: replied 11 months ago.

Hello,


 


The code you provided is great, but I was just asked to see if I could get the countblank to update the number of blanks as we fill in the required data in the blanks in those columns. Please let me know if you need me to start a new question with another deposit.


 


Thank you.

Expert:  R.R. Jha replied 11 months ago.
Ok, I'd do that. I'd work it out and get back to you. As it's related to previous question, I can post the answer here. Just rate that new answer and you'd pay the same amount as last time.


Thanks
Customer: replied 11 months ago.


Excellent! Thank you very much. I will do that.

Expert:  R.R. Jha replied 11 months ago.
You're welcome!

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4514
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4514
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3099
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2453
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2258
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    2193
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1962
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1865
    Bachelors Degree and CPA with Accounting work experience