Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MsAmethyst
 
Posts: n/a
Default Macro for formulas

I know how to do a basic macro. But how would I tell a macro to copy a
formula to rows 11, 22, 33, and so on in a large spreadsheet?
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
maybe something like

sub foo()
dim i
for i = 11 to 99 step 11
cells(i,1).formulaR1C1="=R[0]C[1]*2"
next i
end sub

--
Regards
Frank Kabel
Frankfurt, Germany

"MsAmethyst" schrieb im
Newsbeitrag ...
I know how to do a basic macro. But how would I tell a macro to copy

a
formula to rows 11, 22, 33, and so on in a large spreadsheet?


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
Macro does not run when data refreshed Larry Lehman Excel Discussion (Misc queries) 0 January 16th 05 08:31 PM
Moving down one row in a macro Cathy S. New Users to Excel 3 January 4th 05 10:02 PM
Record Macro Relative does not work? lbbss Excel Discussion (Misc queries) 3 December 13th 04 09:43 PM
Executing macro for all worksheet from a different worksheet Biti New Users to Excel 3 December 8th 04 11:05 AM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 05:46 PM


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