Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 3
Default problem with text from macro?

When I record my macro, to insert a <CR in a column heading cell, the macro
editor shows:

Range("E1").Select
ActiveCell.FormulaR1C1 = "Read" & Chr(10) & "YY"

Yet when I run my macro, what gets inserted appears to *not* be a <CR.
Instead, there's a thick vertical line (like a bold "I") where the <CR should
be. If I edit that cell (<F-2), then hit <Enter, I get what I originally
wanted:

Read
YY

instead of:

Read|YY

On the one hand, this isn't really a big deal, but if I'm doing something
wrong...

Thanks in advance,

Tom

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif - problem counting text, other text gmoore3055 Excel Worksheet Functions 1 February 4th 10 10:30 PM
Text to columns macro problem Andy Excel Discussion (Misc queries) 4 June 20th 06 02:10 PM
Autofit with Merged Cells/Wrap Text Macro Problem elfmajesty Excel Discussion (Misc queries) 3 May 25th 06 06:32 PM
Large amount of text in cells - Problem text.xls (0/1) Patrick Excel Discussion (Misc queries) 3 May 5th 05 04:10 PM
Large amount of text in cells - Problem text.xls (1/1) Patrick Excel Discussion (Misc queries) 0 May 5th 05 01:23 PM


All times are GMT +1. The time now is 11:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"