Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #35  
Old 06-24-2014, 08:02 AM
BobBridges's Avatar
BobBridges BobBridges is offline NEWB to Macros - formatting exports Windows 7 64bit NEWB to Macros - formatting exports Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

I hate it when that happens; it doesn't work, later I try it again and it does work and I don't know why. I can't really trust it after that, until I figure out what I did wrong the first time.

If I'm reading you right, you think what went wrong is trying to do the End(xlDown) and using that for your TextToColumns. I don't think that can be it; there may have been something wrong with that range, but not that you used End(xlDown) to select it. The macro used a hard-coded range because the macro recorder is stupid—necessarily stupid, I mean, not a fault of the designers. But when you're writing your own code you can use the best way to select your range, and End(xlDown) sounds like the best way to me. If you still have the code that it objected to, post it and I'll take a look at it.

As for the rest — a triumphant grin while I lean back and put my hands behind my head — I love it when somebody learns something. Looks like you're well on your way. Holler again, any time.

Oh, and as for conditional formatting, post a question over on the other forum. Chances are someone there will beat me to an answer; I use conditional formatting some, but I get the impression there are others who know it better.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting contents after Tab of continuous lines or formatting specific area of word pawii Word 1 05-12-2014 05:24 AM
macros stebrownsword Word VBA 0 08-28-2013 01:16 AM
NEWB to Macros - formatting exports How to do Formatting Using Macros anju16saini Word VBA 1 03-11-2013 04:15 AM
NEWB to Macros - formatting exports Formatting with macros WaltR Word VBA 8 05-15-2012 06:28 PM
Macros nore Outlook 0 06-01-2011 04:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:29 PM.


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