Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default a macro for inserting

insert it in a column to the right (assume a new column B)
=Left(A1,6) & "-" & mid(A1,7,255)
then drag fill all the way down.

now select the column and do Edit=copy, then Edit=Paste Special and select
values.

Now delete the original column.

So I guess you are the nerd that needs to do it.

--
Regards,
Tom Ogilvy



"spreadsheet monkey" wrote:

I need a solution/macro to insert a minussign (-) into a 10 digit number
between digit 6 and 7 (to get a number looking like this xxxxxx-xxxx)

I need to do it in a single column for all 65 536 lines of code in the
spreadsheet.

who of you is nerd enough to tackle this challenge?

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
a macro for inserting Chris Wilkinson Excel Programming 0 March 28th 07 01:51 AM
macro for inserting a row Kazuki Excel Programming 1 August 22nd 06 06:38 AM
inserting row macro daroc Excel Discussion (Misc queries) 2 March 7th 06 06:27 PM
Inserting A Row Macro PW11111 Excel Programming 2 December 16th 04 10:27 AM
Inserting a Row With Macro - Help iltf124 no spam @hotmail.com Excel Programming 6 April 8th 04 08:21 PM


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