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,

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 talk2mar...@gmail.com 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

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 rajey...@gmail.com 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

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

2012-02-11 Thread Bé Trần Văn
2012/2/11 Yahya Muhammad yahya...@gmail.com Please find it attached. On Sat, Feb 11, 2012 at 7:34 AM, chhajersand...@gmail.com 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.

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 betnmtdongna...@gmail.comwrote: ** 2012/2/10 rajeyssh aggarwaal rajey...@gmail.com Hello Sir, Is it possible while we entering the date in the sheet system alert us that the name or number or

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 betnmtdongna...@gmail.com 2012/2/11 Yahya Muhammad yahya...@gmail.com Please find it attached. On Sat, Feb 11, 2012 at 7:34 AM, chhajersand...@gmail.com wrote: Dear Excel Expert, I am a ardent follower of this group and I have seen that some one has posted

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

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 balaji.bra...@gmail.com hi, its limiting the entry also. with regards raghu On Sat, Feb 11, 2012 at 5:50 PM, Bé Trần Văn betnmtdongna...@gmail.comwrote: ** 2012/2/10 rajeyssh aggarwaal rajey...@gmail.com Hello Sir, Is it possible while we entering the date in

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 betnmtdongna...@gmail.com Sender: excel-macros@googlegroups.com Date: Sat, 11 Feb 2012 21:20:17 To: excel-macros@googlegroups.com Reply-To:

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$$ 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 –

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=flashassetid=XT010149329vwidth=1044vheight=788 On Fri, Feb 10, 2012 at 10:36 PM, Rohan bittu.ro...@gmail.com wrote: Hi Group, Could

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 malaw...@gmail.com 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

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

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$$ Replacement for Application.CalculateFull

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

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

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

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$$ 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$$ 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) amit.de...@merucabs.comwrote: Dear Maries, ** ** This one was nice...can you please also provide us the solution for it?*** * ** ** Best Regards, Amit ** ** *From:*

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#