Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default How do I create a macro to add a zero to end of a cell? or cel

Mike - Actually, do have an issue - what if they aren't all integers but
rather..

1113-456 (and you want to add a zero)

Any input you could provide would be helpful -thx!

"Mike H" wrote:

Monica

Multiply by 10?

Sub lime()
Set myrange = Range("A1:A10")
For Each c In myrange
c.Value = c.Value * 10
Next
End Sub

Mike


"Monica" wrote:

Trying to create a macro to add a zero to the end of a cell or range of cells
-

Ie - if number is 123 it becomes 1230

Thanks

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
How do I create a macro to add a zero to end of a cell? or cells.. Gary''s Student Excel Programming 1 August 17th 07 02:05 AM
How do I create a macro to add a zero to end of a cell? or cel Monica Excel Programming 0 August 17th 07 01:48 AM
create macro - if cell is 0 delete row pywhacket Excel Worksheet Functions 1 March 15th 06 03:55 PM
Macro to create Cell Comments psmall Excel Programming 5 February 3rd 06 04:46 PM
Create a Macro to jump to next cell Programming Cells Excel Worksheet Functions 6 August 12th 05 10:01 PM


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