Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default find text and move it

Hi,

In col. A I have text and numbers. and in col. B,C,D,E,F I have numbers. I'm
looking for a macro that looks in Col.A and find texts and move row A,B,C,D,E,
F One to the right.

thx,


ex.

A B C D E F G
Tom 28 6 8 46 36
896 56 3 2 7 10



Result.

A B C D E F G
Tom 28 6 8 46 36
896 56 3 2 7 10

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200709/1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default find text and move it

Hi,

Really no need for a macro -
1. Select the data in column A
2. Press F5, Special
3. Turn on the Constants option and uncheck Numbers, Logicals, and Errors
then click OK
4. Press Ctrl+Shift++ (plus sign) and choose Shift Cells to Right.

If you need it in a macro, you can record it.

--
Cheers,
Shane Devenshire


"saman110 via OfficeKB.com" wrote:

Hi,

In col. A I have text and numbers. and in col. B,C,D,E,F I have numbers. I'm
looking for a macro that looks in Col.A and find texts and move row A,B,C,D,E,
F One to the right.

thx,


ex.

A B C D E F G
Tom 28 6 8 46 36
896 56 3 2 7 10



Result.

A B C D E F G
Tom 28 6 8 46 36
896 56 3 2 7 10

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200709/1


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default find text and move it

It worked great.

Thank you.


ShaneDevenshire wrote:
Hi,

Really no need for a macro -
1. Select the data in column A
2. Press F5, Special
3. Turn on the Constants option and uncheck Numbers, Logicals, and Errors
then click OK
4. Press Ctrl+Shift++ (plus sign) and choose Shift Cells to Right.

If you need it in a macro, you can record it.

Hi,

[quoted text clipped - 15 lines]
Tom 28 6 8 46 36
896 56 3 2 7 10


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200709/1

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
Find Duplicates and Move to New Worksheet Adurr Excel Worksheet Functions 9 June 28th 07 02:48 AM
Find and Move Data Stan Excel Discussion (Misc queries) 8 April 23rd 07 09:50 PM
Find Matching Text In Col A move to Col B J.J. Excel Worksheet Functions 3 February 26th 06 04:53 AM
Find text and copy and move row containing it gjpcoach Excel Discussion (Misc queries) 5 February 24th 06 08:32 PM
Macro - Find a value and then move down Phil Osman Excel Discussion (Misc queries) 4 August 10th 05 01:20 PM


All times are GMT +1. The time now is 02:21 PM.

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"