Dear Siti
Really thaks for the reply This reduce my work greatly
Shrinivas

On Sun, Oct 10, 2010 at 5:37 PM, siti Vi <villager.g...@gmail.com> wrote:

> Dear shrinivas,
>
> you can put this formula
> *=B4+BeforeThisSheet("C4")*
> and copy to another sheet (except sheet1 / *most left* tab sheet in
> workbook)
>
> *BeforeThisSheet* is an UDF ( = User defined function)  that we can create
> with VBA
>
> Function BeforeThisSheet(RangeTxt As String)
>    ' siti Vi / jakarta, 0ct 10, 2010
>    Dim TheSheet As Worksheet
>    Set TheSheet = Sheets(Application.ThisCell.Parent.Index - 1)
>    BeforeThisSheet = TheSheet.Range(RangeTxt)
> End Function
>
>
>
>
> On Fri, Oct 8, 2010 at 1:49 PM, shrinivas shevde <shrinivas...@hotmail.com>
> wrote:
> >
> > Dear All
> > Please help me on given  problem
> > Problem
> > I have many sheet in File(more than 30)
> > In Shhet 1 ,C4 =B4
> > In Sheet 2 C4=B4 of sheet2 + C4 of sheet 1
> > If I copy paste this pformula in sheet 3 it will take as
> > C4= B4 of Sheet 3+C4 of sheet 1 but actually I want
> > C4= B4 of Sheet 3+C4 of sheet 2 (That is Previous sheet)
> >
> > Currently I can not copy paste this formula  I have to write it
> > Can Any one help me
> > shrinivas
>
> --
>
> ----------------------------------------------------------------------------------
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links :
> http://twitter.com/exceldailytip
> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
> 3. Excel tutorials at http://www.excel-macros.blogspot.com
> 4. Learn VBA Macros at http://www.quickvba.blogspot.com
> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
>
> To post to this group, send email to excel-macros@googlegroups.com
>
> <><><><><><><><><><><><><><><><><><><><><><>
> Like our page on facebook , Just follow below link
> http://www.facebook.com/pages/discussexcelcom/160307843985936?v=wall&ref=ts
>



-- 
Shrini

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/pages/discussexcelcom/160307843985936?v=wall&ref=ts

Reply via email to