Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Working with ranges

1. In my old dos program, Lucid, I could mark a range and make it all be
LABEL, which meant it would move to the left and show the formula plus and
apostrophe in front of it. In Excel, can I put an apostrophe in front of a
whole bunch of cells at once?

2. Can I use <F4 to change a whole range from looking like- $A$1 to
looking like $A1?

3. How can I show formulas in one range of cells?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Working with ranges

Either formulas or results are shown - there is no mix and match.

You can removed the = sign or precede the formula with a single quote and
the formula becomes a text string and is displayed.

There is no build in support for doing this other than editing the cell.

F4 applies to what is selected in the formula bar. Unless you are working
on a multicell array formula or filling the range, it doesn't work on
existing formulas in multiple cells.

--
Regards,
Tom Ogilvy

"denny" wrote in message
...
1. In my old dos program, Lucid, I could mark a range and make it all be
LABEL, which meant it would move to the left and show the formula plus and
apostrophe in front of it. In Excel, can I put an apostrophe in front of

a
whole bunch of cells at once?

2. Can I use <F4 to change a whole range from looking like- $A$1 to
looking like $A1?

3. How can I show formulas in one range of cells?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Working with ranges

How can I make a macro that uses <F2<Home<'<Enter
and will repeat itself downward for as long as cells are occupied...from any
column you start it in


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Working with ranges

One way:

Option Explicit
Sub testme()
Do
If IsEmpty(ActiveCell) Then
Exit Do
Else
ActiveCell.Value = "'" & ActiveCell.Value
ActiveCell.Offset(1, 0).Activate
End If
Loop
End Sub



denny wrote:

How can I make a macro that uses <F2<Home<'<Enter
and will repeat itself downward for as long as cells are occupied...from any
column you start it in


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Working with ranges

Thank you. That worked perfectly!!! Please look at Shelling Out to Dos

"Dave Peterson" wrote:

One way:

Option Explicit
Sub testme()
Do
If IsEmpty(ActiveCell) Then
Exit Do
Else
ActiveCell.Value = "'" & ActiveCell.Value
ActiveCell.Offset(1, 0).Activate
End If
Loop
End Sub



denny wrote:

How can I make a macro that uses <F2<Home<'<Enter
and will repeat itself downward for as long as cells are occupied...from any
column you start it in


--

Dave Peterson

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
Sumproduct formula not working with ranges Michelle Excel Discussion (Misc queries) 7 February 10th 09 11:26 AM
working with multiple consolidation ranges. Saraladevi Excel Worksheet Functions 1 September 9th 08 03:17 PM
Named Ranges Not Working in Data Validation dplum Excel Worksheet Functions 8 November 24th 07 01:32 PM
Working with Ranges...Need help Jitranijam Excel Discussion (Misc queries) 3 October 10th 06 10:45 PM
Problem Working with Named Ranges montgomerymouse Excel Discussion (Misc queries) 1 January 10th 05 10:45 PM


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

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

About Us

"It's about Microsoft Excel"