#1   Report Post  
Posted to microsoft.public.excel.misc
helphelp
 
Posts: n/a
Default macro

I have a worksheet with about 250 rows of data. There are about 200
workssheets. I want one particular column in a worksheet to be divided by
1000. When I try to record a macro, i get a message that says "unable to
record". Please let me know if there is a solution to this. The cell contains
a very long formula.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default macro


You could use a directly written macro like the one below which will
take every cell in the selected area and divide by 1000

Sub Divide
For Each Cell in Selection
Cell = Cell/1000
Next Cell
End Sub


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=549635

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
Search, Copy, Paste Macro in Excel [email protected] Excel Worksheet Functions 0 January 3rd 06 06:51 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
macro with F9 Kenny Excel Discussion (Misc queries) 1 August 3rd 05 02:41 PM
Make Alignment options under format cells available as shortcut dforrest Excel Discussion (Misc queries) 1 July 14th 05 10:58 PM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM


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