Re: $$Excel-Macros$$ Difference between VBA and VSTO

2012-02-11 Thread Deepak Pal Singh
I don't know much about VSTO, but you can read articles on Wikipedia and MSDN.. http://en.wikipedia.org/wiki/Visual_Studio_Tools_for_Office As we all know that there're many office applications (specially spreadsheets, text editor & presentations) available in the market today. To retain the No#

Re: $$Excel-Macros$$ Excel test file Basic & Advance

2012-02-11 Thread xlstime
Maries, that's great.thnx On Wed, Feb 8, 2012 at 4:11 PM, Amit Desai (MERU) wrote: > Dear Maries, > > ** ** > > This one was nice...can you please also provide us the solution for it?*** > * > > ** ** > > Best Regards, > > Amit > > ** ** > > *From:* excel-macros@googlegroups.com [ma

RE: $$Excel-Macros$$ formula for this

2012-02-11 Thread Asa Rossoff
StillSearching = False If Not c Is Nothing Then If c.Address <> firstaddress Then StillSearching = True Loop While StillSearching Can be expressed: If c Is Nothing Then DoneSearching = True: Else DoneSearching = c.Address = firstaddress Loop Until DoneSearching This removes

RE: $$Excel-Macros$$ formula for this

2012-02-11 Thread Asa Rossoff
Ø Loop While Not c Is Nothing And c.Address <> firstaddress Will generate an error if c is nothing, because it will still try to evaluate c.Address. However, without studying the code too closely: I don't think c ever will be Nothing at that point, since .FindNext always loops around again, and

RE: $$Excel-Macros$$ alert for duplicate name or number while entering the data in the sheet

2012-02-11 Thread Asa Rossoff
Hi Don, re. Application.WorksheetFunction / Application … I've noticed people just using Application, but I don't understand why that would be better. I'm intersested to hear your thoughts on that if you prefer that syntax. Since the worksheet functions are only documented as members of Ap

RE: $$Excel-Macros$$ Replacement for Application.CalculateFull

2012-02-11 Thread Asa Rossoff
How did Don's suggestion work out? Some things to think about: - Why do you need a full calculation? Excel tracks dependencies and in a regular calculation on recalculates what needs to be calculated. The end result should be the same, only faster. If your UDF needs to be recalculated at

Re: $$Excel-Macros$$ Replacement for Application.CalculateFull

2012-02-11 Thread hanumant shinde
Can anybody help pls. its really very imp for me > > From: dguillett1 >To: excel-macros@googlegroups.com >Sent: Friday, 10 February 2012 11:27 PM >Subject: Re: $$Excel-Macros$$ Replacement for Application.CalculateFull > > >try >  >Application.Calculation = x

Re: $$Excel-Macros$$ alert for duplicate name or number while entering the data in the sheet

2012-02-11 Thread dguillett1
Or clearing the color and using vba FIND instead of a function. BTW Most agree that using application.worksheetfunction should just be application. Option Explicit Private Sub Worksheet_Change(ByVal Target As Range) Dim mf As Range If Target.Count > 1 Then Exit Sub Target.Interior.ColorIndex = 0

Re: $$Excel-Macros$$ alert for duplicate name or number while entering the data in the sheet

2012-02-11 Thread somcpardeshi
Hi, Try following steps in excel Range a2 1 go to data then data validation 2 settings 3 allow custom 4 formula =countif($a$1:a1,a2)=o 5 copy this cell and paste down with validation This will not allow you to reenter name if you use formula =countif($a$1:a1,a2)<>0 in conditional formatting t

Re: $$Excel-Macros$$ Synchronizing two Pivot tables.

2012-02-11 Thread Mahesh parab
it would be great if you could send sample workbook..! On Sat, Feb 11, 2012 at 9:31 AM, Awal wrote: > I have two pivot tables with the same underlying data set but show > different views to the user. I need help synchronizing the 2 Pivot > tables with one report filter. > Thanks in advance for

Re: $$Excel-Macros$$ Series and Justify in Excel 2010

2012-02-11 Thread xlstime
Hi ROhan, Please find below links http://www.howtogeek.com/howto/16386/find-office-2003-commands-in-office-2010/ http://office.microsoft.com/asstvid.aspx?&type=flash&assetid=XT010149329&vwidth=1044&vheight=788 On Fri, Feb 10, 2012 at 10:36 PM, Rohan wrote: > Hi Group, > > Could anyone please

Re: $$Excel-Macros$$ Thanks in advance

2012-02-11 Thread NOORAIN ANSARI
Dear Vijay, The following code will refresh all pivot tables in an excel workbook or a worksheet. There are two ways to achieve this: *Refresh all pivots in Workbook – Method 1* Sub try1() For Each pt In ActiveWorkbook.PivotCaches pt.Refresh Next pt End Sub *Refresh all pivots in Workbook – Met

Re: $$Excel-Macros$$ formula for this

2012-02-11 Thread dguillett1
I should have removed or commented out this line. MsgBox c.Offset(, 6) Please use this instead Option Explicit Sub findtotalsSAS() Dim c As Range Dim firstaddress As String With Sheets("sheet1").Range("f1:f150") Set c = .Find("LedgerTotal", LookIn:=xlValues) If Not c Is Nothing Then

Re: $$Excel-Macros$$ Add in for compare work sheets

2012-02-11 Thread chhajersandeep
Thanks Be Tran Van. Its really nice of you. Sandeep Chhajer. Sent on my BlackBerry® from Vodafone -Original Message- From: Bé Trần Văn Sender: excel-macros@googlegroups.com Date: Sat, 11 Feb 2012 21:20:17 To: Reply-To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Add in f

Re: $$Excel-Macros$$ alert for duplicate name or number while entering the data in the sheet

2012-02-11 Thread Bé Trần Văn
2012/2/11 raghu gr > hi, > its limiting the entry also. > > with regards > raghu > > > On Sat, Feb 11, 2012 at 5:50 PM, Bé Trần Văn wrote: > >> ** >> >> 2012/2/10 rajeyssh aggarwaal >> >>> Hello Sir, >>> Is it possible while we entering the date in the sheet system alert us >>> that the name or

Re: $$Excel-Macros$$ Thanks in advance

2012-02-11 Thread dguillett1
You need to do your own HOMEWORK. Don Guillett SalesAid Software dguille...@gmail.com From: vijayajith VA Sent: Saturday, February 11, 2012 1:11 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Thanks in advance HI Maries They told me to write a program.. to refresh all t

Re: $$Excel-Macros$$ Add in for compare work sheets

2012-02-11 Thread Bé Trần Văn
2012/2/11 Bé Trần Văn > > > 2012/2/11 Yahya Muhammad > >> >> >> Please find it attached. >> >> >> >> >> On Sat, Feb 11, 2012 at 7:34 AM, wrote: >> >>> Dear Excel Expert, >>> >>> I am a ardent follower of this group and I have seen that some one has >>> posted in this forum a Add in to compare t

Re: $$Excel-Macros$$ alert for duplicate name or number while entering the data in the sheet

2012-02-11 Thread raghu gr
hi, its limiting the entry also. with regards raghu On Sat, Feb 11, 2012 at 5:50 PM, Bé Trần Văn wrote: > ** > > 2012/2/10 rajeyssh aggarwaal > >> Hello Sir, >> Is it possible while we entering the date in the sheet system alert us >> that the name or number or text already in the sheet but not

Re: $$Excel-Macros$$ Add in for compare work sheets

2012-02-11 Thread Bé Trần Văn
2012/2/11 Yahya Muhammad > > > Please find it attached. > > > > > On Sat, Feb 11, 2012 at 7:34 AM, wrote: > >> Dear Excel Expert, >> >> I am a ardent follower of this group and I have seen that some one has >> posted in this forum a Add in to compare two worksheet. >> >> May I request the expert

Re: $$Excel-Macros$$ alert for duplicate name or number while entering the data in the sheet

2012-02-11 Thread Bé Trần Văn
** 2012/2/10 rajeyssh aggarwaal > Hello Sir, > Is it possible while we entering the date in the sheet system alert us > that the name or number or text already in the sheet but not limit the > entry of the data, if yes let me know how can we do it and is it possible > to imply the rule in few ro

Re: $$Excel-Macros$$ Thanks in advance

2012-02-11 Thread xlstime
Hi, use short key for refresh all pivot tables in workbook press crtl+alt+f5 On 2/11/12, Maries wrote: > Hi, > > Try this code: > > Sub AllWorkbookPivots() > Dim pt As PivotTable > Dim ws As Worksheet > For Each ws In ActiveWorkbook.Worksheets >For Each pt In ws.PivotTables >

Re: $$Excel-Macros$$ Thanks in advance

2012-02-11 Thread Maries
Hi, Try this code: Sub AllWorkbookPivots() Dim pt As PivotTable Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets For Each pt In ws.PivotTables pt.RefreshTable Next pt Next ws End Sub Regards, MARIES. On Sat, Feb 11, 2012 at 11:11 AM, vijaya