LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
j j is offline
external usenet poster
 
Posts: 128
Default Copy Formula with a Macro

What is a simple way (in a macro) to copy a formula down an empty column and
only paste the formula if data exists on that row?

I've used {Worksheets("Sheet1").Range("A1:A100").FillDown} when I know how
many rows have data, but in this case I don't have any idea how many rows
there may be with data.

Thanks for any help.

 
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
Copy a Formula in a Macro KennyD Excel Discussion (Misc queries) 3 March 7th 10 01:04 AM
Copy down formula macro Eva Excel Worksheet Functions 3 December 9th 09 10:33 PM
Use Macro to Copy Formula from one Workbook to another bevchapman Excel Discussion (Misc queries) 4 October 7th 09 03:50 PM
Copy a formula down in a macro Sal Excel Discussion (Misc queries) 3 June 5th 06 02:52 AM
Copy Formula Macro ME Pike Excel Programming 2 September 17th 03 09:42 PM


All times are GMT +1. The time now is 08:37 AM.

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"