LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Automate Formula script

For your initial query.

Range("D1:D10").Formula = "=IF(A1<"""",B1+C1,"""")"

If this post helps click Yes
---------------
Jacob Skaria


"Jeremy" wrote:

Would this go in the sheet code?

These are the actual formulas I am using
=A55-WEEKDAY(A55,2)+1
=A55-DAY(A55)+1

Thank you
"Gary''s Student" wrote:

Sub formularizer()
For Each r In Intersect(ActiveSheet.UsedRange, Range("A:A"))
If IsEmpty(r) Then
Else
n = r.Row
r.Offset(0, 3).Formula = "=B" & n & "+C" & n
End If
Next
End Sub

--
Gary''s Student - gsnu200909

 
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
Formula or script needed Jeremy Excel Discussion (Misc queries) 1 August 17th 08 03:55 AM
Automate a formula in excel Farris Excel Discussion (Misc queries) 6 August 9th 07 11:18 PM
Vlookup formula script Gor_yee Excel Discussion (Misc queries) 1 August 5th 07 03:27 PM
How can I script formula? Sam Excel Worksheet Functions 2 July 10th 06 06:22 AM
automate formula pboost1 Excel Discussion (Misc queries) 2 March 2nd 06 07:52 PM


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