Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default how do I insert an ' in front of many rows of numbers?

I have a column of numbers 1,800 rows long that needs an ' in front of every
row. How do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default how do I insert an ' in front of many rows of numbers?

Sub MakeText()
Dim cell as Range
for each cell in Range("F1:F1800")
cell.Formula = "'" & cell.Text
Next
End Sub

--
Regards,
Tom Ogilvy

"jszuch" wrote in message
...
I have a column of numbers 1,800 rows long that needs an ' in front of

every
row. How do I do this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default how do I insert an ' in front of many rows of numbers?

See response in .misc

--

HTH

RP
(remove nothere from the email address if mailing direct)


"jszuch" wrote in message
...
I have a column of numbers 1,800 rows long that needs an ' in front of

every
row. How do I do this?



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
I WANT TO INSERT A LETTER IN FRONT OF A NUMBERS Nathan Excel Worksheet Functions 6 September 16th 09 06:00 AM
Insert symbol in front of value Aggies Excel Discussion (Misc queries) 3 August 29th 07 07:46 PM
How to auto insert rows in a list of numbers zdek Excel Discussion (Misc queries) 3 June 16th 06 10:19 PM
INSERT THE SAME WORD IN FRONT OF EACH ROW Annie23 Excel Discussion (Misc queries) 4 February 28th 06 01:37 PM
how do I insert an ' in front of many rows of numbers? jnycks Excel Discussion (Misc queries) 2 April 25th 05 02:48 PM


All times are GMT +1. The time now is 03:47 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"