#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Posted Code

Hello from Steved

I was kindly given the below code I copied it and alt F11
and pasted it.

I understand what it is supposed to do for example if cell
A1 says "City" it gets changed to "1-City"

The problem is I can not get it to work please help
Thankyou.

For x = 1 To 9
Cells(x, 1).Value = x & "-" & Cells(x, 1).Value
Next x

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Posted Code

Hi
after pasting the code you have to execute the macro. Take a look at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Steved" schrieb im Newsbeitrag
...
Hello from Steved

I was kindly given the below code I copied it and alt F11
and pasted it.

I understand what it is supposed to do for example if cell
A1 says "City" it gets changed to "1-City"

The problem is I can not get it to work please help
Thankyou.

For x = 1 To 9
Cells(x, 1).Value = x & "-" & Cells(x, 1).Value
Next x


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Posted Code

Thankyou Frank, I wiil do as you ask.

Cheers.

-----Original Message-----
Hi
after pasting the code you have to execute the macro.

Take a look at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Steved" schrieb im

Newsbeitrag
...
Hello from Steved

I was kindly given the below code I copied it and alt

F11
and pasted it.

I understand what it is supposed to do for example if

cell
A1 says "City" it gets changed to "1-City"

The problem is I can not get it to work please help
Thankyou.

For x = 1 To 9
Cells(x, 1).Value = x & "-" & Cells(x, 1).Value
Next x


.

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
Question not posted? Simon New Users to Excel 4 May 5th 10 05:50 PM
Why my posting are not posted! LABKHAND Excel Discussion (Misc queries) 5 January 22nd 10 02:01 AM
Finding questions I have posted kevan Excel Worksheet Functions 5 January 9th 09 01:19 AM
Hi ..I posted some more info ..... ANDREW_B Excel Discussion (Misc queries) 1 December 2nd 04 04:08 PM
Re-posted need more detail Gav !! Excel Programming 2 August 29th 03 08:30 AM


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