Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-15-2013, 01:44 PM
AlexanderJohnWilley AlexanderJohnWilley is offline string concat stopped working? Windows XP string concat stopped working? Office 2007
Novice
string concat stopped working?
 
Join Date: Nov 2012
Posts: 7
AlexanderJohnWilley is on a distinguished road
Default string concat stopped working?

Dear Forum



I am trying to concatenate some text values with semi colons in between, ignoring cells with no entry

I used with initial great success the string concat function by Pearson, by placing code in to my sheet and using the =StringConcat function

BUT, All worked well but then it seemed to stop working and my formula gave #NAME? errors everywhere I used it.
Its almost like something just stopped working

Any ideas why? is it some setting on my Excel?

Should I go about the concentration differently?

Appreciate any help at all

Thank you
Reply With Quote
  #2  
Old 09-15-2013, 02:30 PM
excelledsoftware excelledsoftware is offline string concat stopped working? Windows 7 64bit string concat stopped working? Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

The Name? error usually means that your formula is looking for a named range rather than a reference. Double check your formula to ensure quotes are in the right place. I would use this formula =if(a3="","",a1&";"&a2&";"&a3) etc.

If this dosnt solve the issue, go ahead and post your workbook.
Reply With Quote
  #3  
Old 09-15-2013, 03:08 PM
AlexanderJohnWilley AlexanderJohnWilley is offline string concat stopped working? Windows XP string concat stopped working? Office 2007
Novice
string concat stopped working?
 
Join Date: Nov 2012
Posts: 7
AlexanderJohnWilley is on a distinguished road
Default

Thank you.

I have attached a stripped down version of the file with formula and code

I got the code from the following site - which was really helpful. But I can't seem to get the formula to work anymore. It seemed to stop - perhaps I am using the wrong file type - or I inadvertently changed something important

hhttp://www.cpearson.com/excel/stringconcatenation.aspx

Again, appreciate any help

thanks.
Attached Files
File Type: xlsm Data.xlsm (59.7 KB, 12 views)
Reply With Quote
  #4  
Old 09-15-2013, 05:12 PM
excelledsoftware excelledsoftware is offline string concat stopped working? Windows 7 64bit string concat stopped working? Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

Thanks for posting this. All I did was take your code and place it in a module rather than in the worksheet code. This is exactly how Microsoft suggests to write functions. After I did that it worked no problem. The only thing I can think of as to why it worked before could be your worksheets weren't arranged the way they are now. Don't worry too much about as to why since putting it in it's own module works. Give that a shot and let us know.
Reply With Quote
  #5  
Old 09-21-2013, 08:05 PM
excelledsoftware excelledsoftware is offline string concat stopped working? Windows 7 64bit string concat stopped working? Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

Quote:
Originally Posted by excelledsoftware View Post
Thanks for posting this. All I did was take your code and place it in a module rather than in the worksheet code. This is exactly how Microsoft suggests to write functions. After I did that it worked no problem. The only thing I can think of as to why it worked before could be your worksheets weren't arranged the way they are now. Don't worry too much about as to why since putting it in it's own module works. Give that a shot and let us know.
Did you get a chance to put it in its own module and try it? Let us know if you got it to work. If not we are still here to help.
Reply With Quote
  #6  
Old 09-25-2013, 01:05 PM
AlexanderJohnWilley AlexanderJohnWilley is offline string concat stopped working? Windows XP string concat stopped working? Office 2007
Novice
string concat stopped working?
 
Join Date: Nov 2012
Posts: 7
AlexanderJohnWilley is on a distinguished road
Default

Thank you very much for your help a few days ago now. it was much appreciated
Reply With Quote
  #7  
Old 09-27-2013, 08:39 PM
excelledsoftware excelledsoftware is offline string concat stopped working? Windows 7 64bit string concat stopped working? Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

Quote:
Originally Posted by AlexanderJohnWilley View Post
Thank you very much for your help a few days ago now. it was much appreciated
You are very welcome. hopefully you got it working ok.
Reply With Quote
Reply

Tags
concatenate, string



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel stopped working. nodsirrah Excel 9 07-01-2017 04:58 AM
Outlook stopped working CarolVee Outlook 0 07-21-2013 10:47 AM
string concat stopped working? Word stopped working judyn Word 5 10-18-2012 03:09 PM
string concat stopped working? Tab key stopped working in Word jgriffin Word 2 06-24-2009 04:05 PM
Excell stopped working TomC Excel 4 05-26-2006 11:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft