Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro for splitting a cell

Hi
I would like to split a cell, using the sign ":" as the one that defines
where to split it...

ex.
Vil_du_træne_hjemme_for_at_nå_dit_mål?: 'Ja'
Vil_du_gå_i_motionscenter_for_at_nå_dit_mål?: 'Ja'
Vil_du_ændre_dine_spisevaner_for_at_nå_dit_mål? : 'Ja'

becomes
Vil_du_træne_hjemme_for_at_nå_dit_mål?: -new cell 'Ja'
Vil_du_gå_i_motionscenter_for_at_nå_dit_mål?: -new cell 'Ja'
Vil_du_ændre_dine_spisevaner_for_at_nå_dit_mål? : new cell 'Ja'


Is that possible... ??

Kind Regards
Brian Brandt
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Macro for splitting a cell

Use Data-Text to columns, separated option, and give : in other separator!
Regards,
Stefi


Brian Brandt ezt *rta:

Hi
I would like to split a cell, using the sign ":" as the one that defines
where to split it...

ex.
Vil_du_træne_hjemme_for_at_nå_dit_mål?: 'Ja'
Vil_du_gå_i_motionscenter_for_at_nå_dit_mål?: 'Ja'
Vil_du_ændre_dine_spisevaner_for_at_nå_dit_mål? : 'Ja'

becomes
Vil_du_træne_hjemme_for_at_nå_dit_mål?: -new cell 'Ja'
Vil_du_gå_i_motionscenter_for_at_nå_dit_mål?: -new cell 'Ja'
Vil_du_ændre_dine_spisevaner_for_at_nå_dit_mål? : new cell 'Ja'


Is that possible... ??

Kind Regards
Brian Brandt

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Macro for splitting a cell

Easies way is to use Data Text to columns, and use the semicolon as the
delimiter.

Jeff

"Brian Brandt" wrote in message
...
Hi
I would like to split a cell, using the sign ":" as the one that defines
where to split it...

ex.
Vil_du_trne_hjemme_for_at_n_dit_ml?: 'Ja'
Vil_du_g_i_motionscenter_for_at_n_dit_ml?: 'Ja'
Vil_du_ndre_dine_spisevaner_for_at_n_dit_ml?: 'Ja'

becomes
Vil_du_trne_hjemme_for_at_n_dit_ml?: -new cell 'Ja'
Vil_du_g_i_motionscenter_for_at_n_dit_ml?: -new cell 'Ja'
Vil_du_ndre_dine_spisevaner_for_at_n_dit_ml?: new cell 'Ja'


Is that possible... ??

Kind Regards
Brian Brandt



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Macro for splitting a cell

I mean the colon of course.

Jeff

"Jeff Standen" wrote in message
...
Easies way is to use Data Text to columns, and use the semicolon as the
delimiter.

Jeff

"Brian Brandt" wrote in message
...
Hi
I would like to split a cell, using the sign ":" as the one that defines
where to split it...

ex.
Vil_du_trne_hjemme_for_at_n_dit_ml?: 'Ja'
Vil_du_g_i_motionscenter_for_at_n_dit_ml?: 'Ja'
Vil_du_ndre_dine_spisevaner_for_at_n_dit_ml?: 'Ja'

becomes
Vil_du_trne_hjemme_for_at_n_dit_ml?: -new cell 'Ja'
Vil_du_g_i_motionscenter_for_at_n_dit_ml?: -new cell 'Ja'
Vil_du_ndre_dine_spisevaner_for_at_n_dit_ml?: new cell 'Ja'


Is that possible... ??

Kind Regards
Brian Brandt





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro for splitting a cell

thanks guys... i did'nt know that function...

Kind Regards
Brian

"Stefi" wrote:

Use Data-Text to columns, separated option, and give : in other separator!
Regards,
Stefi


Brian Brandt ezt *rta:

Hi
I would like to split a cell, using the sign ":" as the one that defines
where to split it...

ex.
Vil_du_træne_hjemme_for_at_nå_dit_mål?: 'Ja'
Vil_du_gå_i_motionscenter_for_at_nå_dit_mål?: 'Ja'
Vil_du_ændre_dine_spisevaner_for_at_nå_dit_mål? : 'Ja'

becomes
Vil_du_træne_hjemme_for_at_nå_dit_mål?: -new cell 'Ja'
Vil_du_gå_i_motionscenter_for_at_nå_dit_mål?: -new cell 'Ja'
Vil_du_ændre_dine_spisevaner_for_at_nå_dit_mål? : new cell 'Ja'


Is that possible... ??

Kind Regards
Brian Brandt

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
E2007 - Macro for splitting text and then replacing something Niniel Excel Discussion (Misc queries) 2 November 18th 09 10:11 AM
Macro Assistance (Splitting into new workbook by value) Dedrie Excel Discussion (Misc queries) 1 August 21st 09 08:31 PM
splitting cell text using macro Garrystone Excel Discussion (Misc queries) 3 February 1st 08 03:22 PM
Splitting a Cell williamr Excel Worksheet Functions 2 June 13th 07 01:30 AM
Splitting text in cell with Excel 97 VBA macro Vsevolod Excel Programming 3 May 11th 04 01:17 PM


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