Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to re-write all cells in a column

columns(3).copy
columns(3).Pastespecial xlValues

or

set rng = Range(Cells(1,3),Cells(rows.count,3).end(xlup))
for each cell in rng
cell.formula = cell.Value
Next

adjust for formulas.

--
Regards,
Tom Ogilvy


"Bob L" wrote in message
...
I would like some help writing a macro to rewrite all the contents of the
cells for an entire column. Is this possible? Thanks for your help



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
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? Daniel Excel Worksheet Functions 1 June 23rd 05 11:38 PM
Macro to re-write all cells in a column Gord Dibben Excel Programming 3 August 11th 04 07:43 PM
Macro to re-write all cells in a column sp00nix[_21_] Excel Programming 4 August 11th 04 12:06 AM
Write a macro to populate a column with a formula martinjw[_2_] Excel Programming 2 May 26th 04 05:48 PM
Write a macro ro copy column at certain time of day. Daytrader Excel Programming 2 February 2nd 04 05:28 AM


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