Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 08-25-2014, 11:17 PM
ryanjohnsond@gmail.com ryanjohnsond@gmail.com is offline Run Script to remove carriage returns on certain columns Windows 8 Run Script to remove carriage returns on certain columns Office 2007
Novice
Run Script to remove carriage returns on certain columns
 
Join Date: Aug 2014
Posts: 18
ryanjohnsond@gmail.com is on a distinguished road
Default


Quote:
Originally Posted by excelledsoftware View Post
I did the research and know how to get this to work on every workbook in a folder.
That's great news!

Quote:
Originally Posted by excelledsoftware View Post
I need to know where else to have the carriage returns removed. since this code will process 50 workbooks no problem I want to write it once and make sure it is right.
I went back and took a look, and that spread sheet is a good representation.

My main task is to remove the carriage returns with the columns that have the numbers, and replace the carriage returns with commas: they must have commas (e.g., 1,1, 1,3, 1,4,23). The problem was I couldn't' use your current code because it couldn't find the headers with the names written in the code because they both have carriage returns in them with the word "sheet" wrapping under it. My bad: I missed that originally. So, I don't need commas in the headers. Whether you find a solution to read the header names with their carriage returns, or write code to remove them, it's up to you; the main objective is to reformat the numbers in the columns with commas.

Once I fix that to match your code, then it works fine.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Script to remove carriage returns on certain columns stop carriage return or enter key in a table Alaska1 Word 1 01-14-2013 08:48 AM
Run Script to remove carriage returns on certain columns Coding into a macro a carriage return sinbad Word VBA 6 02-27-2012 03:51 AM
Run Script to remove carriage returns on certain columns Paragraph (carriage) return font size revrossreddick Word 2 12-28-2011 01:33 PM
Carriage Return Help UCHelp Word 1 04-04-2010 10:11 PM
Run Script to remove carriage returns on certain columns Table of contents, remove spacing and put in 2 columns - need help urgently! nam085 Word 1 03-04-2010 08:00 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:41 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