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 John D Your Own Question

John D
John D, BS Degree in Engineering
Category: Mac
Satisfied Customers: 9659
Experience:  Worked on Macs and PC's for 20+ years.
53785
Type Your Mac Question Here...
John D is online now
A new question is answered every 9 seconds

I am using Excel 2008 for Mac and I am trying to clean up a

Customer Question

I am using Excel 2008 for Mac and I am trying to clean up a .xls file I have been given. Many of the entries are in ALL CAPS. Instead I need to arbitrarily select which cells need to be changed to All Caps. Is there a way to do that?

Thanks,

Randal
Submitted: 4 years ago.
Category: Mac
Expert:  John D replied 4 years ago.
Hi Randal,

Yes we can create a small macro for that. Can you send me the file so I can look at it. Just go to www.wikisend.com and upload it there. You will then get a page that has the download link. Copy the download link and come back here and paste it in your reply.
Customer: replied 4 years ago.
http://wikisend.com/download/424618/xcart_weights.xls

Thanks
Customer: replied 4 years ago.
http://wikisend.com/download/424618/xcart_weights.xls

Thanks

I only need to change the product name field
Expert:  John D replied 4 years ago.
Ok, so you want to change only the ALL CAP data in column B to Proper Cap, or to small cap?

For example

LIVER CLEANSE FORMULA should be changed to Liver Cleanse Formula, or to liver cleanse formula?
Customer: replied 4 years ago.
Yes, that is correct but I need to be able to select which product name cell. Some cells like CLT-X, DHA and so on need to stay all caps.
Expert:  John D replied 4 years ago.
How would like to identify the names that need to be changed? How about putting an X in column J next to each one that you want to change and sending me the file again.
Customer: replied 4 years ago.
Hi John,

Thanks for the offer but this isn't a one time thing. Is it possible to do what I am asking? If not, what can be done to make it easier?
Expert:  John D replied 4 years ago.
Yes it is if you can tell me what the rule is?

Can we assume that any data in column B that has less than say 5 characters should not be changed, but if it has 5 or more that 5 characters will be changed
Customer: replied 4 years ago.
Hi John,

Not trying to be difficult but there is no pattern. Is it not possible to just highlight the ones to change and press a button or something similar?
Expert:  John D replied 4 years ago.
Sure, would you like me to write a macro that will change the highlighted cells only.
Customer: replied 4 years ago.
yes that would be great
Expert:  John D replied 4 years ago.
Ok, here you go

FILE

Just select all the cells that you want to change the case of and then press Ctrl + Q

Please note that since there is a macro in that file you need to make sure that you have your Excel Options configured so that macros are allowed to run, otherwise nothing happens when you press Ctrl + Q. If you need assistance in this regard please let me know.

Hope this is ok. Let me know if you have any questions
Customer: replied 4 years ago.
Before I start I have been modifying that file is there a way I can add this to the file I am using. I have a deadline in 4 hours that has to be met that is why I have continued to do the work manually in addition to the other massaging that has to take place.
Expert:  John D replied 4 years ago.
The easiest way is to copy the data from the other file and past it into this file then run the macro on this new data
Customer: replied 4 years ago.
I'll look at it in the morning. I am not confident that I won't lose what I have done to do it now.

Thanks
Expert:  John D replied 4 years ago.
ok
Customer: replied 4 years ago.
even if that works that means I have to keep that spreadsheet forever. I wanted to use this macro on different spreadsheets. Isn't that possible?
Expert:  John D replied 4 years ago.
Yes, I will prepare the instructions, in the meantime go ahead and click the accept button. Thanks
John D, BS Degree in Engineering
Category: Mac
Satisfied Customers: 9659
Experience: Worked on Macs and PC's for 20+ years.
John D and 2 other Mac Specialists are ready to help you
Customer: replied 4 years ago.
Do you have an estimate when you will do this?

Yes, I will prepare the instructions, in the meantime go ahead and click the accept button. Thanks
Expert:  John D replied 4 years ago.

Oops, I am sorry I just knew about the accept from your message this morning. For some reason I have not received an email notification about it at the time. My apologies. I will be working on it right away.

 

 

Expert:  John D replied 4 years ago.

Ok, here are the instructions for copying the macro from one workbook to another

 

1- Close all Excel workbooks and Excel programs.
2 - Open the file that I sent you.
3 - Press the keys ALT + F11 to open the Visual Basic Editor
4 - Copy the macro code by selecting all the code lines and copying it
5 - Close this file
6 - Open your own workbook
7 - Press the keys ALT + F11 to open the Visual Basic Editor
8 - Press the keys ALT + I to activate the Insert menu
9 - Press M to insert a Standard Module
10- Paste the code
11- Make any cusXXXXX XXXXXes to the macro if needed at this time
12- Press the keys ALT+Q to exit the Editor, and return to Excel
13- Save your excel file..

 

Hope this helps. Let me know if you have any questions

 

 

Customer: replied 4 years ago.
Hi John,

In my original question I specified I have a Mac.

****
I am using Excel 2008 for Mac and I am trying to clean up a .xls file I have been given. Many of the entries are in ALL CAPS. Instead I need to arbitrarily select which cells need to be changed to All Caps. Is there a way to do that? Thanks, Randal
****
When I attempt to open the file you built it says there are Visual Basic macros. As you know, a Mac can't use them. Can you do something in Mac instead?

Thanks,

Randal
Expert:  John D replied 4 years ago.

Hi again Randal.

 

Yes we can set up formulas to convert the case but I need you to send me the file again as the old file link has expired.

 

 

 

Customer: replied 4 years ago.
Hi John,

Here is the link http://wikisend.com/download/476484/xcart_weights.xls

Some need to be all caps and some don't. For example, LIVER CLEANSE FORMULA, CATNIP, HYDRANGEA are ones that need to have each word capitalized. Not sure if this is the exact thing I sent before. Either way, it represents what I need.

Thanks,

Randal
Expert:  John D replied 4 years ago.

Ok, I created formulas in column C (yellow) which convert all items in Product column to the case you want. However since we cannot run macros on this file there is no way we can apply this to some cells and not to others (e.g. by selecting the cells as we did before), so the formulas convert all the cells, then it is up to you to delete the formulas from the cells that you do not wish to change the case of

 

Here is the file

 

FILE

 

Hope this helps

 

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:

 
 
 
  • Hi John, Thank you for your expertise and, more important, for your kindness because they make me, almost, look forward to my next computer problem. After the next problem comes, I'll be delighted to correspond again with you. I'm told that I excel at programing. But system administration has never been one of my talents. So it's great to have an expert to rely on when the computer decides to stump me. God bless, Bill Bill M. Schenectady, New York
< Last | Next >
  • Hi John, Thank you for your expertise and, more important, for your kindness because they make me, almost, look forward to my next computer problem. After the next problem comes, I'll be delighted to correspond again with you. I'm told that I excel at programing. But system administration has never been one of my talents. So it's great to have an expert to rely on when the computer decides to stump me. God bless, Bill Bill M. Schenectady, New York
  • The Expert answered my Mac question and was patient. He answered in a thorough and timely manner, keeping the response on a level that could understand. Thank you! Frank Canada
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • 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
 
 
 

Meet The Experts:

 
 
 
  • Mike

    Mac Medic

    Satisfied Customers:

    6256
    Over 20 years IT experience with Apple computers in publishing, marketing and design.
< Last | Next >
  • http://ww2.justanswer.com/uploads/macthelife/2009-10-20_1899_mikesebaharsquare64.jpg Mike's Avatar

    Mike

    Mac Medic

    Satisfied Customers:

    6256
    Over 20 years IT experience with Apple computers in publishing, marketing and design.
  • http://ww2.justanswer.com/uploads/AS/ashiknasameen/2012-5-15_141836_final2.64x64.jpg Ashik's Avatar

    Ashik

    Mac Helper

    Satisfied Customers:

    5282
    7+ Years of Experience in troubleshooting Macs, iPhone, iPad, iPod etc
  • http://ww2.justanswer.com/uploads/DP/dpean/2012-6-6_172828_avatorme1.64x64.JPG Daniel's Avatar

    Daniel

    Mac Genius

    Satisfied Customers:

    4670
    Apple certified on desktop and portable, help desk qualified. Have owned and used Macs since 1989.
  • http://ww2.justanswer.com/uploads/VI/vinodvmenon2005/1.64x64.jpg Vinod Menon's Avatar

    Vinod Menon

    Support Specialist

    Satisfied Customers:

    2068
    worked as a Tech support Associate for Apple products
  • http://ww2.justanswer.com/uploads/BE/beboo/2011-1-14_201648_n5063313142021801763.64x64.jpg Brandon M.'s Avatar

    Brandon M.

    Mac Support Specialist

    Satisfied Customers:

    1501
    10+ Years Mac Support as contractor and currently an IT Manager for law firm
  • http://ww2.justanswer.com/uploads/MA/MacDruid/IMG_0232.64x64.JPG John T. F.'s Avatar

    John T. F.

    Mac Druid

    Satisfied Customers:

    1408
    20+ years in the computer/Mac industry
  • http://ww2.justanswer.com/uploads/MA/MacHelpdesk/1d2d506.64x64.jpg David's Avatar

    David

    Mac Support Specialist

    Satisfied Customers:

    1236
    BSc, H.Dip, Apple Certified
 
 
 

Related Mac Questions

Chat Now With A Mac Support Specialist
John D
John D
118 Satisfied Customers
Worked on Macs and PC's for 20+ years.