Re: $$Excel-Macros$$ Excel macro to send mail with other than excel attachment

2012-01-10 Thread Anish Shrivastava
Hi Priyanka,

I have a written a macro which does similar task, but I just wanted to
check with you about Subject and Mail Body of the email.

What would be the Subject and what should be written in the mail?? If you
can give me these 2, I will modify the macro and send it to you.

Regards,
Anish

On Tue, Jan 10, 2012 at 3:11 PM, PrIyAnKa p.dhamsa...@gmail.com wrote:

 Dear Team

 In an excel sheet  have data in A column Employee Name , in B Column 
 email id of concern Employee

 I h ave a folder of PDF files, PDF file name are same as Employee Name and
 there is a PDF for all employee

 I want to send concern Employee his own named PDF from that folder to the
 email ID mentioned in column B in excel

 Kindly help for such macro ,

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com


-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Re: $$Excel-Macros$$ UnProtect Code Not working

2011-10-28 Thread Anish Shrivastava
thanks for your reply Sam but your conclusion is not right.. below is the
code which I am using to protect the sheets and as you can see the password
is same. Sample.

Please advice.

==
Sub prot()
Dim sht As Integer
Dim uname As String
uname = Environ(Username)
For sht = 1 To ThisWorkbook.Worksheets.Count
If uname  savijay Then
Sheets(sht).Protect Password:=Sample
End If
Next
End Sub


On Fri, Oct 28, 2011 at 9:51 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 It means the sheet is protected with another password, and that you cannot
 unprotect the sheet using a password that does not match.

 Sam


 On Fri, Oct 28, 2011 at 9:16 PM, Anish Shrivastava anish@gmail.comwrote:

 Hi,

 Please see the code below, when I run the code it says password you
 supplied is not valid.


 ===
 Sub unpro()
 Dim sht As Worksheet
 Dim uname As String
 Dim pwd As String
 uname = Environ(Username)
 pwd = Sample
 For Each sht In Worksheets
 If uname = aniskumar Then
 sht.Unprotect Password:=pwd
 End If
 Next sht
 End Sub
 

 Let me know what could be wrong here. I am using Excel 2007.

 Thanks,
 Anish


 --
 FORUM RULES (925+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
 not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




 --
 Sam Mathai Chacko

 --
 FORUM RULES (925+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
 not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com


-- 
FORUM RULES (925+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Re: $$Excel-Macros$$ Download Word Macro Tutorial

2011-10-23 Thread Anish Shrivastava
Thank you Very much Ashish.. This would help, as I needed to work on Word
macro but I couldnt, just becoz I had no clue. By going through first
few pages of this book, I think I can learn it faster.. :)

Thansk again for sharing this.

On Sun, Oct 23, 2011 at 8:01 PM, ashish koul koul.ash...@gmail.com wrote:

 http://www.susandoreydesigns.com/software/WordVBATechniques.pdf

 --
 *Regards*
 * *
 *Ashish Koul*
 *http://www.excelvbamacros.com/*


 P Before printing, think about the environment.


 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Do not support any request of breaking passwords

2011-10-21 Thread Anish Shrivastava
Sure Ayush,

Would make sure of it.

Thanks,
Anish

On Thu, Oct 20, 2011 at 10:48 PM, Ayush Jain jainayus...@gmail.com wrote:

 Noorain, Imaraan, Anish, Sam, Jayandra and rest of the group,

 Please do not post or support any query on breaking password of excel vba
 file.
 This is against the rules of this group.

 This is not acceptable and may lead to ban from the group. Take Care.

 Thanks.

 Regards
 Ayush Jain



 On Thu, Oct 20, 2011 at 7:58 AM, NOORAIN ANSARI 
 noorain.ans...@gmail.comwrote:

 Dear Imran,

 Please use attached sheet.

  Thanks  regards,
 Noorain Ansari
  *http://excelmacroworld.blogspot.com/*http://excelmacroworld.blogspot.com/
 *http://noorain-ansari.blogspot.com/*http://noorain-ansari.blogspot.com/

  On Thu, Oct 20, 2011 at 6:20 AM, Imran Ansari immi007...@gmail.comwrote:

 Hi Anish,

 Can you tell me as to how can i get the same

 Also please tell me the name of the software that your are using and the
 amount in rupees to spend for same

 Do you have a VBA password cracker i did ask this question to all but
 unfortunately no one has replied

 Please reply

 Regards,

 Imran


  On Tue, Oct 18, 2011 at 5:06 PM, Anish Shrivastava anish@gmail.com
  wrote:

  Hi,

 I have a password recovery application (Licensed version) but it works
 only till office 2003.

 I tried unlocking your file but no success since it's xlsx (2007).

 If anyone needs any assistance in breaking passwords till xls or any
 office application till 2003 ver, I can be a help.

 Thanks,
 Anish

  On Mon, Oct 17, 2011 at 9:35 PM, Sam Mathai Chacko samde...@gmail.com
  wrote:

 That will only open the sheet / workbook password Noorain :)


  On Mon, Oct 17, 2011 at 9:29 PM, NOORAIN ANSARI 
 noorain.ans...@gmail.com wrote:

  Dear Jay,

 Please try through below link.
 http://www.straxx.com/excel/password.html

 --
   On Mon, Oct 17, 2011 at 7:40 PM, jayendra gaurav 
 jayendra.gau...@gmail.com wrote:


 Pls help me in this.


 -- Forwarded message --
 From: jayendra gaurav jayendra.gau...@gmail.com
 Date: Fri, Oct 14, 2011 at 1:19 PM
 Subject: $$Excel-Macros$$ Un lock the file.
 To: excel-macros@googlegroups.com



 Dear Team,


 I forgot the password of this file .kindly unlock the same


 Its very urgent.

 Regards

 J.Gaurav

 --

 --
 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/discussexcel



 --
 J.Gaurav
 Operation Manager
 Mahindra logistics
 General Motor
 Hallol Baroda
 Cell - 9327348097

 --

 --
 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/discussexcel





 --

 --
 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/discussexcel




  --
 Sam Mathai Chacko

 --

 --
 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/discussexcel

Re: $$Excel-Macros$$ Un lock the file.

2011-10-18 Thread Anish Shrivastava
Hi,

I have a password recovery application (Licensed version) but it works only
till office 2003.

I tried unlocking your file but no success since it's xlsx (2007).

If anyone needs any assistance in breaking passwords till xls or any
office application till 2003 ver, I can be a help.

Thanks,
Anish

On Mon, Oct 17, 2011 at 9:35 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 That will only open the sheet / workbook password Noorain :)


 On Mon, Oct 17, 2011 at 9:29 PM, NOORAIN ANSARI 
 noorain.ans...@gmail.comwrote:

 Dear Jay,

 Please try through below link.
 http://www.straxx.com/excel/password.html

 --
 Thanks  regards,
 Noorain Ansari
  *http://excelmacroworld.blogspot.com/*http://excelmacroworld.blogspot.com/
 *http://noorain-ansari.blogspot.com/*http://noorain-ansari.blogspot.com/
  On Mon, Oct 17, 2011 at 7:40 PM, jayendra gaurav 
 jayendra.gau...@gmail.com wrote:


 Pls help me in this.


 -- Forwarded message --
 From: jayendra gaurav jayendra.gau...@gmail.com
 Date: Fri, Oct 14, 2011 at 1:19 PM
 Subject: $$Excel-Macros$$ Un lock the file.
 To: excel-macros@googlegroups.com



 Dear Team,


 I forgot the password of this file .kindly unlock the same


 Its very urgent.

 Regards

 J.Gaurav

 --

 --
 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/discussexcel



 --
 J.Gaurav
 Operation Manager
 Mahindra logistics
 General Motor
 Hallol Baroda
 Cell - 9327348097

 --

 --
 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/discussexcel





 --

 --
 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/discussexcel




 --
 Sam Mathai Chacko

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Need help on String Matching

2011-09-21 Thread Anish Shrivastava
Hi Haseeb,

Thanks for you help on this query but recently I noticed onething, this
formula works when we have to match strings from left. In this case it works
fine. But when I have the below scenario, it doesnt work properly.

For example, in source sheet I have Analex Corporation and in Destination
I have The Analex Corp alongwith other values starting with Anal. The
best match for source string would be The Analex Corp but since there is
The at the left it's not picking it up.

Can you please suggest me any solution for this. Hope you get what I am
trying to say.
Thanks,
Anish
On Tue, Jul 12, 2011 at 8:25 AM, Haseeb Avarakkan 
haseeb.avarak...@gmail.com wrote:

 Hello, Try this Array Formula. Must hit CONTROL+SHIFT+ENTER, rather than
 ENTER.


 =INDEX(Sheet1!A:A,MAX(IFERROR(MATCH(LEFT(A1,ROW(INDEX(A:A,1):INDEX(A:A,LEN(A1*,Sheet1!A:A,0),0)))

 Copy down. See the attached.

 HTH
 Haseeb

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


$$Excel-Macros$$ Wrong Keywords in Excel - Spell Check

2011-07-25 Thread Anish Shrivastava
Hi,

Is it possible to store those keywords which is being found using Spellcheck
option in excel.

I have a list of values in Column A on which I run the spellcheck. Now I
want, excel(vba) to store those wrong values in sheet2 which is being found
by spellcheck function so that I can populate their replacement (expanded
version).

For example there would be a value as Mktg in my list which will be found
by spellcheck. Mktg has to be expanded as Marketing which I do manually
and also enter this mktg in my repository manually for the future
reference so that I can run my macro and replace mktg with Marketing.

I need your help in how to store those wrong keywords in sheet2 with each
occurrence.

Hope I am able  to explain my problem.

Any help is appreciated.

Thanks,
Anish

-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Wrong Keywords in Excel - Spell Check

2011-07-25 Thread Anish Shrivastava
Hi Rajan,

Thanks for your quick response. It works fine.
However I made few changes according to my further requirements and then It
doesnt catch the wrong words.. It's giving me zero..

Please have a look. I have highlighted the changes I made.

Let me know Where am I wrong?

--
Public MyTest As Boolean
Public myWord As String
Sub GetText()
On Error Resume Next
Dim ws As Worksheet
Dim st As String
Dim arr() As String
Dim cell As Range
Dim lastrow As Integer
Set ws = ActiveSheet
Sheets(WrongWord).Delete
Sheets.Add.Name = WrongWord
ws.Activate
lastrow = ws.Range(A1).End(xlDown).Row
st = 
Range(B2, Cells(lastrow, B)).Select
For Each cell In Selection
st = st cell.Value
Next
arr = Split(st,  )
For i = LBound(arr) To UBound(arr)
myWord = arr(i)
Call mySpell
If MyTest = False Then Sheets(WrongWord).Range(A 
Sheets(WrongWord).Range(A2).End(xlUp).Row + 1).Value = myWord
MyTest = False
Next
Sheets(WrongWord).Activate
MsgBox Total   WorksheetFunction.CountA(ActiveSheet.Cells)Wrong
Word Found in Data , vbInformation
End Sub
Sub mySpell()
MyTest = Application.CheckSpelling(myWord)
End Sub

On Mon, Jul 25, 2011 at 5:05 PM, Rajan_Verma rajanverma1...@gmail.comwrote:

  *Try this , Hope I did understand your Query..*

 * *

 *Public MyTest As Boolean*

 *Public myWord As String*

 *Sub GetText()*

 *On Error Resume Next*

 *Dim ws As Worksheet*

 *Dim st As String*

 *Dim arr() As String*

 *Dim cell As Range*

 **

 *Set ws = ActiveSheet*

 *Sheets(WrongWord).Delete*

 *Sheets.Add.Name http://sheets.add.name/ = WrongWord*

 *ws.Activate*

 *st = *

 **

 **

 *For Each cell In ActiveSheet.UsedRange*

 *st = st cell.Value*

 *Next*

 **

 *arr = Split(st,  )*

 *For i = LBound(arr) To UBound(arr)*

 *myWord = arr(i)*

 *Call mySpell*

 *If MyTest = False Then
 Sheets(WrongWord).Range(A 
 Sheets(WrongWord).Range(A2).End(xlUp).Row + 1).Value = myWord*

 *MyTest = False*

 *Next*

 *Sheets(WrongWord).Activate*

 *MsgBox Total  
 WorksheetFunction.CountA(ActiveSheet.Cells)Wrong Word Found in Data ,
 vbInformation*

 *End Sub*

 *Sub mySpell()*

 *MyTest = Application.CheckSpelling(myWord)*

 * *

 *End Sub*

 * *

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *Anish Shrivastava
 *Sent:* Monday, July 25, 2011 4:24 PM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ Wrong Keywords in Excel - Spell Check

 ** **

 Hi,

  

 Is it possible to store those keywords which is being found using
 Spellcheck option in excel.

  

 I have a list of values in Column A on which I run the spellcheck. Now I
 want, excel(vba) to store those wrong values in sheet2 which is being found
 by spellcheck function so that I can populate their replacement (expanded
 version).

  

 For example there would be a value as Mktg in my list which will be found
 by spellcheck. Mktg has to be expanded as Marketing which I do manually
 and also enter this mktg in my repository manually for the future
 reference so that I can run my macro and replace mktg with Marketing.*
 ***

  

 I need your help in how to store those wrong keywords in sheet2 with each
 occurrence.

  

 Hope I am able  to explain my problem.

  

 Any help is appreciated.

  

 Thanks,

 Anish

 --

 --
 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/discussexcel

 --

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

Re: $$Excel-Macros$$ Wrong Keywords in Excel - Spell Check

2011-07-25 Thread Anish Shrivastava
Strange!! but I got it working with the same code below.

Thanks a lot for this.
Anish
On Mon, Jul 25, 2011 at 7:46 PM, Anish Shrivastava anish@gmail.comwrote:

 Hi Rajan,

 Thanks for your quick response. It works fine.
 However I made few changes according to my further requirements and then It
 doesnt catch the wrong words.. It's giving me zero..

 Please have a look. I have highlighted the changes I made.

 Let me know Where am I wrong?

 --
  Public MyTest As Boolean
 Public myWord As String
 Sub GetText()
 On Error Resume Next
 Dim ws As Worksheet
 Dim st As String
 Dim arr() As String
 Dim cell As Range
 Dim lastrow As Integer
 Set ws = ActiveSheet
 Sheets(WrongWord).Delete
 Sheets.Add.Name http://sheets.add.name/ = WrongWord
 ws.Activate
 lastrow = ws.Range(A1).End(xlDown).Row
 st = 
 Range(B2, Cells(lastrow, B)).Select
 For Each cell In Selection
 st = st cell.Value
 Next
 arr = Split(st,  )
 For i = LBound(arr) To UBound(arr)
 myWord = arr(i)
 Call mySpell
 If MyTest = False Then Sheets(WrongWord).Range(A 
 Sheets(WrongWord).Range(A2).End(xlUp).Row + 1).Value = myWord
 MyTest = False
 Next
 Sheets(WrongWord).Activate
 MsgBox Total   WorksheetFunction.CountA(ActiveSheet.Cells)Wrong
 Word Found in Data , vbInformation
 End Sub
 Sub mySpell()
 MyTest = Application.CheckSpelling(myWord)
 End Sub

   On Mon, Jul 25, 2011 at 5:05 PM, Rajan_Verma 
 rajanverma1...@gmail.comwrote:

  *Try this , Hope I did understand your Query..*

 * *

 *Public MyTest As Boolean*

 *Public myWord As String*

 *Sub GetText()*

 *On Error Resume Next*

 *Dim ws As Worksheet*

 *Dim st As String*

 *Dim arr() As String*

 *Dim cell As Range*

 **

 *Set ws = ActiveSheet*

 *Sheets(WrongWord).Delete*

 *Sheets.Add.Name http://sheets.add.name/ = WrongWord*

 *ws.Activate*

 *st = *

 **

 **

 *For Each cell In ActiveSheet.UsedRange*

 *st = st cell.Value*

 *Next*

 **

 *arr = Split(st,  )*

 *For i = LBound(arr) To UBound(arr)*

 *myWord = arr(i)*

 *Call mySpell*

 *If MyTest = False Then
 Sheets(WrongWord).Range(A 
 Sheets(WrongWord).Range(A2).End(xlUp).Row + 1).Value = myWord*

 *MyTest = False*

 *Next*

 *Sheets(WrongWord).Activate*

 *MsgBox Total  
 WorksheetFunction.CountA(ActiveSheet.Cells)Wrong Word Found in Data ,
 vbInformation*

 *End Sub*

 *Sub mySpell()*

 *MyTest = Application.CheckSpelling(myWord)*

 * *

 *End Sub*

 * *

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *Anish Shrivastava
 *Sent:* Monday, July 25, 2011 4:24 PM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ Wrong Keywords in Excel - Spell Check

 ** **

 Hi,

  

 Is it possible to store those keywords which is being found using
 Spellcheck option in excel.

  

 I have a list of values in Column A on which I run the spellcheck. Now I
 want, excel(vba) to store those wrong values in sheet2 which is being found
 by spellcheck function so that I can populate their replacement (expanded
 version).

  

 For example there would be a value as Mktg in my list which will be
 found by spellcheck. Mktg has to be expanded as Marketing which I do
 manually and also enter this mktg in my repository manually for the future
 reference so that I can run my macro and replace mktg with Marketing.
 

  

 I need your help in how to store those wrong keywords in sheet2 with each
 occurrence.

  

 Hope I am able  to explain my problem.

  

 Any help is appreciated.

  

 Thanks,

 Anish

 --

 --
 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/discussexcel

 --

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

Re: $$Excel-Macros$$ Workbooks Consolidation Macro

2011-07-21 Thread Anish Shrivastava
Sure Harish :) ..

You will have it soon..

On Thu, Jul 21, 2011 at 3:45 PM, Harish Sharma harishsharma...@gmail.comwrote:

 Can someone help this is really urgent.

 Thanks
 Harish


 On 20 July 2011 23:06, Harish Sharma harishsharma...@gmail.com wrote:

 Hi Anish,

 Please find attached the sample file with one row filled.
 And Column C  Column H concatenate should give us unique value so if
 this is repeated then we need to have below requested feature.

 Hope this would be more clear now.

 Thanks
 Harish



 On 20 July 2011 21:32, Anish Shrivastava anish@gmail.com wrote:

 One sample sheet would be helpful to us to see the data structure.

 However, for this *Also identifiy if there is any row duplicated and
 highlight them and paste them into another sheet * There must be any
 particular data field which has to be checked against others in order to
 find duplicates.

 Macro for consolidation is not a big deal.


 On Wed, Jul 20, 2011 at 7:35 PM, Harish Sharma 
 harishsharma...@gmail.com wrote:

 Hi,

 I had a macro file which was able to consolidate small files but now I
 have a requirement to consolidate 30 workbooks saved in a share drive and
 this data may even cross 66000 row after consolidation. Can someone help me
 in creating a macro which picks all the file from shared folder and
 consolidates the one specific worksheet in all the workbook.

 This macro should also be capable of deleting any blank row in any of
 these 30 workbooks so that we donot miss any data if someone by error has
 missed a couple of row and entered the data in couple of row below.

 30 workbooks in sharedrive
 one specific worksheet from all of these named as Tracker
 Should cover all the blanks and delete them so that no data missed
 Also identifiy if there is any row duplicated and highlight them and
 paste them into another sheet
 If data crosses excel 2003 limit of row it should move to next
 worksheet.

 Hope to get a solution from excel experts.

 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel


 --

 --
 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/discussexcel




 --
 Kind Regards,
 Harish Sharma




 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Workbooks Consolidation Macro

2011-07-21 Thread Anish Shrivastava
Harish,

I forgot to ask you one thing.
The column headers in the file you attached will be constant for all the
30-35 files which are there on your sharedrive, right?
Cheers,
Anish
On Wed, Jul 20, 2011 at 11:06 PM, Harish Sharma
harishsharma...@gmail.comwrote:

 Hi Anish,

 Please find attached the sample file with one row filled.
 And Column C  Column H concatenate should give us unique value so if
 this is repeated then we need to have below requested feature.

 Hope this would be more clear now.

 Thanks
 Harish



 On 20 July 2011 21:32, Anish Shrivastava anish@gmail.com wrote:

 One sample sheet would be helpful to us to see the data structure.

 However, for this *Also identifiy if there is any row duplicated and
 highlight them and paste them into another sheet * There must be any
 particular data field which has to be checked against others in order to
 find duplicates.

 Macro for consolidation is not a big deal.


 On Wed, Jul 20, 2011 at 7:35 PM, Harish Sharma harishsharma...@gmail.com
  wrote:

 Hi,

 I had a macro file which was able to consolidate small files but now I
 have a requirement to consolidate 30 workbooks saved in a share drive and
 this data may even cross 66000 row after consolidation. Can someone help me
 in creating a macro which picks all the file from shared folder and
 consolidates the one specific worksheet in all the workbook.

 This macro should also be capable of deleting any blank row in any of
 these 30 workbooks so that we donot miss any data if someone by error has
 missed a couple of row and entered the data in couple of row below.

 30 workbooks in sharedrive
 one specific worksheet from all of these named as Tracker
 Should cover all the blanks and delete them so that no data missed
 Also identifiy if there is any row duplicated and highlight them and
 paste them into another sheet
 If data crosses excel 2003 limit of row it should move to next worksheet.

 Hope to get a solution from excel experts.

 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel


 --

 --
 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/discussexcel




 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Workbooks Consolidation Macro

2011-07-21 Thread Anish Shrivastava
Hi Harsih,

Since you didnt reply about column headers I assumed that it's the same for
every file on share drive.

Please see the attached file with macro.

You must populate the file path in Sheet2-A1.

Do let me know if it works fine for you.
Cheers!!
Anish
On Thu, Jul 21, 2011 at 4:00 PM, Anish Shrivastava anish@gmail.comwrote:

 Harish,

 I forgot to ask you one thing.
 The column headers in the file you attached will be constant for all the
 30-35 files which are there on your sharedrive, right?
 Cheers,
 Anish
   On Wed, Jul 20, 2011 at 11:06 PM, Harish Sharma 
 harishsharma...@gmail.com wrote:

 Hi Anish,

 Please find attached the sample file with one row filled.
 And Column C  Column H concatenate should give us unique value so if
 this is repeated then we need to have below requested feature.

 Hope this would be more clear now.

 Thanks
 Harish



 On 20 July 2011 21:32, Anish Shrivastava anish@gmail.com wrote:

 One sample sheet would be helpful to us to see the data structure.

 However, for this *Also identifiy if there is any row duplicated and
 highlight them and paste them into another sheet * There must be any
 particular data field which has to be checked against others in order to
 find duplicates.

 Macro for consolidation is not a big deal.


 On Wed, Jul 20, 2011 at 7:35 PM, Harish Sharma 
 harishsharma...@gmail.com wrote:

 Hi,

 I had a macro file which was able to consolidate small files but now I
 have a requirement to consolidate 30 workbooks saved in a share drive and
 this data may even cross 66000 row after consolidation. Can someone help me
 in creating a macro which picks all the file from shared folder and
 consolidates the one specific worksheet in all the workbook.

 This macro should also be capable of deleting any blank row in any of
 these 30 workbooks so that we donot miss any data if someone by error has
 missed a couple of row and entered the data in couple of row below.

 30 workbooks in sharedrive
 one specific worksheet from all of these named as Tracker
 Should cover all the blanks and delete them so that no data missed
 Also identifiy if there is any row duplicated and highlight them and
 paste them into another sheet
 If data crosses excel 2003 limit of row it should move to next
 worksheet.

 Hope to get a solution from excel experts.

 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel


 --

 --
 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/discussexcel




 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel




-- 
--
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/discussexcel


Sample_Sheet_Harish_Solved_Anish.xlsm
Description: Binary data


Re: $$Excel-Macros$$ Workbooks Consolidation Macro

2011-07-21 Thread Anish Shrivastava
Harish,

PLease ignore the earlier attachment as I forgot to add *DUPLICATE CHECK* in
that macro.

Use this attachment.

On Thu, Jul 21, 2011 at 5:09 PM, Anish Shrivastava anish@gmail.comwrote:

 Hi Harsih,

 Since you didnt reply about column headers I assumed that it's the same for
 every file on share drive.

 Please see the attached file with macro.

 You must populate the file path in Sheet2-A1.

 Do let me know if it works fine for you.
 Cheers!!
 Anish
   On Thu, Jul 21, 2011 at 4:00 PM, Anish Shrivastava 
 anish@gmail.comwrote:

 Harish,

 I forgot to ask you one thing.
 The column headers in the file you attached will be constant for all the
 30-35 files which are there on your sharedrive, right?
 Cheers,
 Anish
   On Wed, Jul 20, 2011 at 11:06 PM, Harish Sharma 
 harishsharma...@gmail.com wrote:

 Hi Anish,

 Please find attached the sample file with one row filled.
 And Column C  Column H concatenate should give us unique value so if
 this is repeated then we need to have below requested feature.

 Hope this would be more clear now.

 Thanks
 Harish



 On 20 July 2011 21:32, Anish Shrivastava anish@gmail.com wrote:

 One sample sheet would be helpful to us to see the data structure.

 However, for this *Also identifiy if there is any row duplicated and
 highlight them and paste them into another sheet * There must be any
 particular data field which has to be checked against others in order to
 find duplicates.

 Macro for consolidation is not a big deal.


 On Wed, Jul 20, 2011 at 7:35 PM, Harish Sharma 
 harishsharma...@gmail.com wrote:

 Hi,

 I had a macro file which was able to consolidate small files but now I
 have a requirement to consolidate 30 workbooks saved in a share drive and
 this data may even cross 66000 row after consolidation. Can someone help 
 me
 in creating a macro which picks all the file from shared folder and
 consolidates the one specific worksheet in all the workbook.

 This macro should also be capable of deleting any blank row in any of
 these 30 workbooks so that we donot miss any data if someone by error has
 missed a couple of row and entered the data in couple of row below.

 30 workbooks in sharedrive
 one specific worksheet from all of these named as Tracker
 Should cover all the blanks and delete them so that no data missed
 Also identifiy if there is any row duplicated and highlight them and
 paste them into another sheet
 If data crosses excel 2003 limit of row it should move to next
 worksheet.

 Hope to get a solution from excel experts.

 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel


 --

 --
 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/discussexcel




 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel





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

Re: $$Excel-Macros$$ help requ

2011-07-21 Thread Anish Shrivastava
Vijay,

Though you have provided the sample sheet your requirement is not clear.

What do you mean by merge the names in one sheet. do you want to consolidate
the data or you want a concatenation.

On Thu, Jul 21, 2011 at 5:33 PM, vijayajith VA vijayajith...@gmail.comwrote:

 fyi


 On Wed, Jul 20, 2011 at 6:25 PM, NOORAIN ANSARI 
 noorain.ans...@gmail.comwrote:

 Dear Vijay,

 Please provide sample sheet

   On Wed, Jul 20, 2011 at 5:49 PM, vijayajith VA vijayajith...@gmail.com
  wrote:

 Hi,


 1;
  I have several names in two sheets..i need to merge it in one sheet...is
 this possible using formula..

 Thanks



 --

 --
 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/discussexcel




 --
 Thanks  regards,
 Noorain Ansari
 *http://noorain-ansari.blogspot.com/*http://noorain-ansari.blogspot.com/

 --

 --
 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/discussexcel


 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Re: ***Formula for find and replace***

2011-07-21 Thread Anish Shrivastava
Giving the formula as per your  example.

*=IF(RIGHT(A1,3)=ABC,LEFT(A1,2)#,A1)*

Copy it down.

On Thu, Jul 21, 2011 at 8:55 PM, Prabhu prabhugate...@gmail.com wrote:

 Hi Friends,

 Can  you help me to know the formula for find and replace.Example i need to
 find  ABC in the A1 cell and replace with #. If there is no 'ABC
  existing A1 should remain as it is.(Not using ctr+H)

 *Example.*

 Existing Cell  Replace as
 12ABC   12#

 13XYZ13XYZ

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Re: ***Formula for find and replace***

2011-07-21 Thread Anish Shrivastava
Prabhu,

Use the solution given by GoldenLance below.

=SUBSTITUTE(A1,ABC,#)
*GoldenLance,*
Thanks Man, This formula didnt hit my mind at that time.

On Thu, Jul 21, 2011 at 10:02 PM, GoldenLance samde...@gmail.com wrote:

 Wouldn't this be much more easier, and apt?

 =SUBSTITUTE(A1,ABC,#)

 On Jul 21, 9:27 pm, Prabhu prabhugate...@gmail.com wrote:
  Hi Anish,
 
  If it is ABC12 and i need to replace the ABC form the cell then the
  formula will be ?
 
  Regards,
 
  Prabhu

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Workbooks Consolidation Macro

2011-07-21 Thread Anish Shrivastava
Harish,

Did you try it.. ??

On Thu, Jul 21, 2011 at 5:19 PM, Anish Shrivastava anish@gmail.comwrote:

 Harish,

 PLease ignore the earlier attachment as I forgot to add *DUPLICATE CHECK*in 
 that macro.

 Use this attachment.

   On Thu, Jul 21, 2011 at 5:09 PM, Anish Shrivastava 
 anish@gmail.comwrote:

 Hi Harsih,

 Since you didnt reply about column headers I assumed that it's the same
 for every file on share drive.

 Please see the attached file with macro.

 You must populate the file path in Sheet2-A1.

 Do let me know if it works fine for you.
 Cheers!!
 Anish
   On Thu, Jul 21, 2011 at 4:00 PM, Anish Shrivastava anish@gmail.com
  wrote:

 Harish,

 I forgot to ask you one thing.
 The column headers in the file you attached will be constant for all the
 30-35 files which are there on your sharedrive, right?
 Cheers,
 Anish
   On Wed, Jul 20, 2011 at 11:06 PM, Harish Sharma 
 harishsharma...@gmail.com wrote:

 Hi Anish,

 Please find attached the sample file with one row filled.
 And Column C  Column H concatenate should give us unique value so
 if this is repeated then we need to have below requested feature.

 Hope this would be more clear now.

 Thanks
 Harish



 On 20 July 2011 21:32, Anish Shrivastava anish@gmail.com wrote:

 One sample sheet would be helpful to us to see the data structure.

 However, for this *Also identifiy if there is any row duplicated and
 highlight them and paste them into another sheet * There must be any
 particular data field which has to be checked against others in order to
 find duplicates.

 Macro for consolidation is not a big deal.


 On Wed, Jul 20, 2011 at 7:35 PM, Harish Sharma 
 harishsharma...@gmail.com wrote:

 Hi,

 I had a macro file which was able to consolidate small files but now I
 have a requirement to consolidate 30 workbooks saved in a share drive and
 this data may even cross 66000 row after consolidation. Can someone help 
 me
 in creating a macro which picks all the file from shared folder and
 consolidates the one specific worksheet in all the workbook.

 This macro should also be capable of deleting any blank row in any of
 these 30 workbooks so that we donot miss any data if someone by error has
 missed a couple of row and entered the data in couple of row below.

 30 workbooks in sharedrive
 one specific worksheet from all of these named as Tracker
 Should cover all the blanks and delete them so that no data missed
 Also identifiy if there is any row duplicated and highlight them and
 paste them into another sheet
 If data crosses excel 2003 limit of row it should move to next
 worksheet.

 Hope to get a solution from excel experts.

 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel


 --

 --
 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/discussexcel




 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel






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

Re: $$Excel-Macros$$ Help Macro doesn´t work anymore, keeps giving same error

2011-07-21 Thread Anish Shrivastava
Please check if the sheet name is Pivot.
if not then rename it to Pivot.
On Thu, Jul 21, 2011 at 10:44 PM, Jorge Marques leote.w...@gmail.comwrote:

 Hi guys, i have this macro i use to copy a range from column D of a
 worksheet of a workbook to column G of another workbook and worksheet, but
 it keeps giving me the same error saying that it´s subscript out of range
 in the line in yellow.

 Public wb, wbmes As Workbook
 Sub filldatabase()
 Call AbrirFile
 Call left
 wbmes.Close
 End Sub
 Private Sub AbrirFile()
 Dim Filter, Caption As String
 Dim SelectedFile As Variant
 Set wb = ThisWorkbook

 Filter = Ficheiro XLS (*.xls),(*.xls)
 Caption = Escolha o ficheiro a importar...
 SelectedFile = Application.GetOpenFilename(Filter, , Caption)
 If SelectedFile = False Then Exit Sub
 Set wbmes = Workbooks.Open(SelectedFile, 1, 1)
 End Sub

 Private Sub left()
 Dim a As Double
 wbmes.Activate
 wbmes.Sheets(Total_Refrige).Select
 wbmes.Sheets(Total_Refrige).Range(Range(D2),
 Range(D2).End(xlDown)).Copy
 wb.Activate
 If wb.Sheets(Pivot).Range(G2).Value   Then
 wb.Sheets(Pivot).Range(G1).End(xlDown).Offset(1, 0).Select
 Else
 wb.Sheets(Pivot).Range(G2).Select
 End If
 a = ActiveCell.Row
 wb.Sheets(Total Refrige).Paste
 Application.CutCopyMode = False
 i = a
 While wb.Sheets(Pivot).Range(G  i).Value  
 i = i + 1

 Wend
 End Sub

 Do you have any idea how to solve this?1000 thanks

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Help Macro doesn´t work anymore, keeps giving same error

2011-07-21 Thread Anish Shrivastava
is it possible to attach the sheet? You can remove the data from it or
replace the values..

On Thu, Jul 21, 2011 at 11:04 PM, Jorge Marques leote.w...@gmail.comwrote:

 Yes, the names are all ok, i double checked it, even try to change names,
 but doesn´t work :S

   2011/7/21 Anish Shrivastava anish@gmail.com

 Please check if the sheet name is Pivot.
 if not then rename it to Pivot.
   On Thu, Jul 21, 2011 at 10:44 PM, Jorge Marques 
 leote.w...@gmail.comwrote:

 Hi guys, i have this macro i use to copy a range from column D of a
 worksheet of a workbook to column G of another workbook and worksheet, but
 it keeps giving me the same error saying that it´s subscript out of range
 in the line in yellow.

 Public wb, wbmes As Workbook
 Sub filldatabase()
 Call AbrirFile
 Call left
 wbmes.Close
 End Sub
 Private Sub AbrirFile()
 Dim Filter, Caption As String
 Dim SelectedFile As Variant
 Set wb = ThisWorkbook

 Filter = Ficheiro XLS (*.xls),(*.xls)
 Caption = Escolha o ficheiro a importar...
 SelectedFile = Application.GetOpenFilename(Filter, , Caption)
 If SelectedFile = False Then Exit Sub
 Set wbmes = Workbooks.Open(SelectedFile, 1, 1)
 End Sub

 Private Sub left()
 Dim a As Double
 wbmes.Activate
 wbmes.Sheets(Total_Refrige).Select
 wbmes.Sheets(Total_Refrige).Range(Range(D2),
 Range(D2).End(xlDown)).Copy
 wb.Activate
 If wb.Sheets(Pivot).Range(G2).Value   Then
 wb.Sheets(Pivot).Range(G1).End(xlDown).Offset(1, 0).Select
 Else
 wb.Sheets(Pivot).Range(G2).Select
 End If
 a = ActiveCell.Row
 wb.Sheets(Total Refrige).Paste
 Application.CutCopyMode = False
 i = a
 While wb.Sheets(Pivot).Range(G  i).Value  
 i = i + 1

 Wend
 End Sub

 Do you have any idea how to solve this?1000 thanks

 --

 --
 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/discussexcel


 --

 --
 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/discussexcel


 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Automatic Outlook message

2011-07-21 Thread Anish Shrivastava
Yes Prabhu, It is possible.. Pour in your further details/sample
attachments.

On Thu, Jul 21, 2011 at 11:03 PM, Prabhu prabhugate...@gmail.com wrote:

 Hi all,

 I need to send Automatic mail message from my mail id to some around 10
 members in every week end to remind them to do something.

 I can create distribution list for whom i have to send mails, Message
 content will be same only.

 It needs to reach every week end to that particular distribution list
 members.

 Is there any way to send automatic reminder mail ?

 Plz help.

 Regards

 Prabhu

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ I'm in budget vlookup hell. Please help

2011-07-20 Thread Anish Shrivastava
Hi Adam,

Looking at your workbook, it seems that it's a complete dashboard project to
be completed and in these cases Sample data wouldn't do the perfect job
(However we can create one dummy dashboard).

I understand that you want it to be interactive to the user creating
homepage and navigation with charts and other analysis.

I have one question for you, why are you using images(charts) on the sheet.
where as you can do it with excel charts itself.

Your project is a big one and if we have to do it, it might take some time
to go through all the sheets and understand the data structure to create an
interactive data base.

You will have to have patience for it. I understand that because of data
confidentiality you cant share the complete data but in order to complete
this dashboard or for giving a dashboard skeleton, we would expect one
cleansed workbook only with the necessary sheets.

Hope you understood what I am trying to say.

Thanks,
Anish



On Wed, Jul 20, 2011 at 12:04 PM, Adam Hamilton adamchamil...@gmail.comwrote:

 Hi, Guys,

 Thanks.  You're recieving this error b/c I ommitted the resources
 names for confidentiality.  I'm looking for a macro, or complex
 formulae that will allow the dashboard to be both interactive to the
 user, as well as auto populate data, charts, stats, etc.

 On Tue, Jul 19, 2011 at 6:10 AM, Adam Hamilton adamchamil...@gmail.com
 wrote:
  Hi, guys,
 
  So, I’ve created this complex budget workbook for the department I
  manage.  Everything is automated, however, now that I want to create a
  dashboard with the data, all of my syntax are failing!!!
 
  I’ve spent endless hours on this, can someone PLEASE guide me in the
  right direction?  As you can see from the sample db, the data I want
  to capture are all available in the Raw Data file.  But after weeks of
  trying, I haven’t a clue, and am hard coding everything.
 
  PLEASE HELP
 
 
  --
 
 --
  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/discussexcel
 

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ I'm in budget vlookup hell. Please help

2011-07-20 Thread Anish Shrivastava
Hi Adam,

Great thing.
I would request you again to send me only those sheets which you think are
raw data.

Your workbook contains many sheets (includin pivot sheets) which makes me
unsure that which sheet should I consider as a raw data sheet for dashboard.

As you said, your management wants to select a resourse from a list of
resources in order to see their expenses and other details then I assume
there must be a raw data sheet in database format (simply rows and columns).

to protect the confidentiality, you can change the values on your originial
sheet. Replace it with some example values. Change the names, mail address
and amount.

thanks,
Anish
On Wed, Jul 20, 2011 at 12:49 PM, Adam Hamilton adamchamil...@gmail.comwrote:

 Thanks so much.  A dummy dashboard would be great.  Once I can grasp
 the concept, I know it shouldn't be any problem expanding on it at a
 later time.  My idea is for executive mgmt to be able to select a
 resource and see everything pertaining to thier spend and billable
 rates……..

 To answer your question, I was using charts to show my directors my
 bucket spend.  I will be able to omit everything if I can find a way
 to extract everything from the raw data, instead of hundreds of
 vlookups in hidden tabls…..all of the other bucket breakdowns once I
 can get this to make sense from the raw data.

 Attached is a monthly spend ticket as submitted per executive review.

 On Tue, Jul 19, 2011 at 11:44 PM, Anish Shrivastava anish@gmail.com
 wrote:
  Hi Adam,
 
  Looking at your workbook, it seems that it's a complete dashboard project
 to
  be completed and in these cases Sample data wouldn't do the perfect job
  (However we can create one dummy dashboard).
 
  I understand that you want it to be interactive to the user creating
  homepage and navigation with charts and other analysis.
 
  I have one question for you, why are you using images(charts) on the
 sheet.
  where as you can do it with excel charts itself.
 
  Your project is a big one and if we have to do it, it might take some
 time
  to go through all the sheets and understand the data structure to create
 an
  interactive data base.
 
  You will have to have patience for it. I understand that because of data
  confidentiality you cant share the complete data but in order to complete
  this dashboard or for giving a dashboard skeleton, we would expect one
  cleansed workbook only with the necessary sheets.
 
  Hope you understood what I am trying to say.
 
  Thanks,
  Anish
 
 
  On Wed, Jul 20, 2011 at 12:04 PM, Adam Hamilton adamchamil...@gmail.com
 
  wrote:
 
  Hi, Guys,
 
  Thanks.  You're recieving this error b/c I ommitted the resources
  names for confidentiality.  I'm looking for a macro, or complex
  formulae that will allow the dashboard to be both interactive to the
  user, as well as auto populate data, charts, stats, etc.
 
  On Tue, Jul 19, 2011 at 6:10 AM, Adam Hamilton adamchamil...@gmail.com
 
  wrote:
   Hi, guys,
  
   So, I’ve created this complex budget workbook for the department I
   manage.  Everything is automated, however, now that I want to create a
   dashboard with the data, all of my syntax are failing!!!
  
   I’ve spent endless hours on this, can someone PLEASE guide me in the
   right direction?  As you can see from the sample db, the data I want
   to capture are all available in the Raw Data file.  But after weeks of
   trying, I haven’t a clue, and am hard coding everything.
  
   PLEASE HELP
  
  
   --
  
  
 --
   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/discussexcel
  
 
  --
 
 
 --
  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/discussexcel
 
  --
 
 --
  Some important links for excel users:
  1. Follow us on TWITTER for tips tricks and links

Re: $$Excel-Macros$$ I'm in budget vlookup hell. Please help

2011-07-20 Thread Anish Shrivastava
Tracking sheet.. I see.. I will have a look and try my best to give one
dummy dashboard by tomorrow.

On Wed, Jul 20, 2011 at 1:16 PM, Adam Hamilton adamchamil...@gmail.comwrote:

 However, I get your point, the data is not raw if I am adding a sum of
 spend based on resource allocation and budgetary spend.

 The 'time tracking' sheet is supposed to be the 'raw' data, but since
 it has been altered, I guess I have none..

 On Wed, Jul 20, 2011 at 12:44 AM, Adam Hamilton adamchamil...@gmail.com
 wrote:
  The 'time tracking' sheet is where all of the data are pulled to
  populate the erroneous amount of fluff that you see in my xls
 
  On Wed, Jul 20, 2011 at 12:35 AM, Anish Shrivastava anish@gmail.com
 wrote:
  Hi Adam,
 
  Great thing.
  I would request you again to send me only those sheets which you think
 are
  raw data.
 
  Your workbook contains many sheets (includin pivot sheets) which makes
 me
  unsure that which sheet should I consider as a raw data sheet for
 dashboard.
 
  As you said, your management wants to select a resourse from a list of
  resources in order to see their expenses and other details then I assume
  there must be a raw data sheet in database format (simply rows and
 columns).
 
  to protect the confidentiality, you can change the values on your
 originial
  sheet. Replace it with some example values. Change the names, mail
 address
  and amount.
  thanks,
  Anish
  On Wed, Jul 20, 2011 at 12:49 PM, Adam Hamilton 
 adamchamil...@gmail.com
  wrote:
 
  Thanks so much.  A dummy dashboard would be great.  Once I can grasp
  the concept, I know it shouldn't be any problem expanding on it at a
  later time.  My idea is for executive mgmt to be able to select a
  resource and see everything pertaining to thier spend and billable
  rates……..
 
  To answer your question, I was using charts to show my directors my
  bucket spend.  I will be able to omit everything if I can find a way
  to extract everything from the raw data, instead of hundreds of
  vlookups in hidden tabls…..all of the other bucket breakdowns once I
  can get this to make sense from the raw data.
 
  Attached is a monthly spend ticket as submitted per executive review.
 
  On Tue, Jul 19, 2011 at 11:44 PM, Anish Shrivastava 
 anish@gmail.com
  wrote:
   Hi Adam,
  
   Looking at your workbook, it seems that it's a complete dashboard
   project to
   be completed and in these cases Sample data wouldn't do the perfect
 job
   (However we can create one dummy dashboard).
  
   I understand that you want it to be interactive to the user creating
   homepage and navigation with charts and other analysis.
  
   I have one question for you, why are you using images(charts) on the
   sheet.
   where as you can do it with excel charts itself.
  
   Your project is a big one and if we have to do it, it might take some
   time
   to go through all the sheets and understand the data structure to
 create
   an
   interactive data base.
  
   You will have to have patience for it. I understand that because of
 data
   confidentiality you cant share the complete data but in order to
   complete
   this dashboard or for giving a dashboard skeleton, we would expect
 one
   cleansed workbook only with the necessary sheets.
  
   Hope you understood what I am trying to say.
  
   Thanks,
   Anish
  
  
   On Wed, Jul 20, 2011 at 12:04 PM, Adam Hamilton
   adamchamil...@gmail.com
   wrote:
  
   Hi, Guys,
  
   Thanks.  You're recieving this error b/c I ommitted the resources
   names for confidentiality.  I'm looking for a macro, or complex
   formulae that will allow the dashboard to be both interactive to the
   user, as well as auto populate data, charts, stats, etc.
  
   On Tue, Jul 19, 2011 at 6:10 AM, Adam Hamilton
   adamchamil...@gmail.com
   wrote:
Hi, guys,
   
So, I’ve created this complex budget workbook for the department I
manage.  Everything is automated, however, now that I want to
 create
a
dashboard with the data, all of my syntax are failing!!!
   
I’ve spent endless hours on this, can someone PLEASE guide me in
 the
right direction?  As you can see from the sample db, the data I
 want
to capture are all available in the Raw Data file.  But after
 weeks
of
trying, I haven’t a clue, and am hard coding everything.
   
PLEASE HELP
   
   
--
   
   
   
 --
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

Re: $$Excel-Macros$$ adding adjacent (contagious) cells only

2011-07-20 Thread Anish Shrivastava
Hi Azeema,

Here comes the macro for this. (see the attached file)

*Hey Dave,*

Have seen your post after a really long time. :)
Cheers

On Wed, Jul 20, 2011 at 6:16 PM, Dave Bonallack
davebonall...@hotmail.comwrote:

  Hi Azeema,
 Have a look at the attached to see if it meets your needs. The formula is
 really cumbersome, but it's all I can think of at the moment.
 Regards - Dave.

  --
 From: aze...@gmail.com
 Date: Tue, 19 Jul 2011 23:44:14 -1000
 Subject: $$Excel-Macros$$ adding adjacent (contagious) cells only
 To: excel-macros@googlegroups.com


 Dear Experts:
 Let me see if I can explain this to you.

 I am working on a research project which relates to time use from 6am to 12
 pm, by different activities. (see attached data for a selected no of
 respondents for Unpaid Work only). I would like to calculate segments of
 time or unbroken chain of time spent on an activity. For example, if
 someone reported yes (for unpaid work) at 7 am then another yes at 12 pm and
 then at 3 pm, that is obviously 3 segments of time reported for Unpaid work.
 But if someone reports unpaid work at 7 am and it goes on till 10 am it is
 the same number of hours but only 1 segment! While I can calculate the
 amount of total time a person has spent on an activity, I cannot come up
 with the formula to calculate the number of segments for each row
 (respondent). Can someone help me count the SEGEMENTS of time?


 Many thanks in advance.

 Azeema

 --

 --
 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/discussexcel

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


UnpaidWork.xlsm
Description: Binary data


Re: $$Excel-Macros$$ Workbooks Consolidation Macro

2011-07-20 Thread Anish Shrivastava
One sample sheet would be helpful to us to see the data structure.

However, for this *Also identifiy if there is any row duplicated and
highlight them and paste them into another sheet * There must be any
particular data field which has to be checked against others in order to
find duplicates.

Macro for consolidation is not a big deal.


On Wed, Jul 20, 2011 at 7:35 PM, Harish Sharma harishsharma...@gmail.comwrote:

 Hi,

 I had a macro file which was able to consolidate small files but now I have
 a requirement to consolidate 30 workbooks saved in a share drive and this
 data may even cross 66000 row after consolidation. Can someone help me in
 creating a macro which picks all the file from shared folder and
 consolidates the one specific worksheet in all the workbook.

 This macro should also be capable of deleting any blank row in any of these
 30 workbooks so that we donot miss any data if someone by error has missed a
 couple of row and entered the data in couple of row below.

 30 workbooks in sharedrive
 one specific worksheet from all of these named as Tracker
 Should cover all the blanks and delete them so that no data missed
 Also identifiy if there is any row duplicated and highlight them and paste
 them into another sheet
 If data crosses excel 2003 limit of row it should move to next worksheet.

 Hope to get a solution from excel experts.

 --
 Kind Regards,
 Harish Sharma

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Re: Fwd: Need Formula or Macros

2011-07-20 Thread Anish Shrivastava
Hi Anwar,

Please run the below code and see if it works fine..

--

Sub conc_test()
Dim main_word As String
'cell_pointer = 0
lastrow = Sheets(1).Range(A2).End(xlDown).Row
counter = 3
While counter = lastrow
Set present_cell = Range(E  counter)
Set present_cell1 = Range(D  counter)
word_suffix = 
main_word = Range(D  present_cell.Row)  Range(C  present_cell.Row) 
Range(G  present_cell.Row)
main_word1 = Range(D  present_cell1.Row)  Range(C  present_cell1.Row)
 Range(G  present_cell1.Row)
cell_pointer = 0
While present_cell = present_cell.Offset(cell_pointer + 1, 0)
word_suffix = word_suffix  present_cell.Offset(cell_pointer + 1, 2)
cell_pointer = cell_pointer + 1
'counter = counter + cell_pointer
counter = counter + 1
While present_cell1 = present_cell1.Offset(cell_pointer, 0)
word_suffix = word_suffix  present_cell1.Offset(cell_pointer + 1, 3)
cell_pointer = cell_pointer + 1
'counter = counter + cell_pointer
counter = counter + 1
Wend
Wend
counter = counter + 1
Range(H  present_cell.Row) = main_word  word_suffix
Range(H  present_cell1.Row) = main_word1  word_suffix
Wend

End Sub



On Wed, Jul 20, 2011 at 8:16 PM, cma.ankur ankurpande...@gmail.com wrote:

 hi anwar,
 plz clarify ur query

 On Jul 19, 10:56 pm, john jwa...@gmail.com wrote:
  I sorta see from the notes below the data what you are trying to do,
  but the sample results do not seem to match the data.  ???  please
  check it for correctness or explain further how you reached those
  results
 
  On Jul 19, 5:26 am, Anwar Mohd anr7no...@gmail.com wrote:
 
 
 
 
 
 
 
   Hi All,
 
   Can any one help me with this.
 
   Regards
 
   Anr
 
   -- Forwarded message --
   From: Anwar Mohd anr7no...@gmail.com
   Date: Mon, Jul 18, 2011 at 3:58 PM
   Subject: Need Formula or Macros
   To: excel-macros@googlegroups.com
 
   Hi Experts,
 
   I need formula or macro to concatenete the rows by mail id or reps.
 Attached
   the sample file.
 
   Thanks in advance.
 
   Regards
 
   Anr
 
Concatenate the rows based on the mail ID or reps.xlsx
   13KViewDownload

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Macro needed: write cell reference to end of cell, for all cells

2011-07-19 Thread Anish Shrivastava
Sam,

This is really great to know you got it working tht's the best thing..

The code for find and replace can be reduced to few lines.. but it's fine as
long as it serves the purpose. :)

Cheers,
Anish

On Tue, Jul 19, 2011 at 5:19 PM, Samuel Murray (Afrikaans translator) 
afrika...@gmail.com wrote:

 Anish Shrivastava wrote:

  Anyways, I will give you another macro which will search in each cell on
 the sheet and if it finds a value then it will populate cells address at the
 begining for the text but this may lead to problem with formulas.

 Your latest macro actually stops and gives me a type mismatch error
 when it encounters a formula.

 However, I don't care about formulas as long as the formulas remain
 intact (even if commented out somehow), so I was able to make your
 macro work by first doing a find/replace that replaces = with '=.

 So the revised macro is this:

 Sub test1()
 Dim cel As Range
Cells.Replace What:='=, Replacement:=''=, LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False,
 _
ReplaceFormat:=False
Cells.Replace What:==, Replacement:='=, LookAt:=xlPart,
 SearchOrder _
:=xlByRows, MatchCase:=False, SearchFormat:=False,
 ReplaceFormat:=False
 For Each cel In ActiveSheet.UsedRange
 If cel.Value   Then
 cel.Value = [[[  ActiveSheet.Name  |  Split(cel.Address, $)
 (1)  |  cel.Row  ]]]  cel.Value
 End If
 Next cel
 End Sub

 Sorry, I don't know how to write proper code, so the find/replace was
 just recorded.

 This actually works for my purposes: the cell references appear in the
 sharedStrings.xml of the unzipped XLSX file and can be manipulated
 from there using plaintext editing.

 Thanks again
  Samuel


 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Need help on String Matching

2011-07-19 Thread Anish Shrivastava
Hey Haseeb,

This formula is AWESOME man... Tooo goood.. helped me big time..

A big THANK YOU :)

Thanks,
Anish

On Tue, Jul 12, 2011 at 8:25 AM, Haseeb Avarakkan 
haseeb.avarak...@gmail.com wrote:

 Hello, Try this Array Formula. Must hit CONTROL+SHIFT+ENTER, rather than
 ENTER.


 =INDEX(Sheet1!A:A,MAX(IFERROR(MATCH(LEFT(A1,ROW(INDEX(A:A,1):INDEX(A:A,LEN(A1*,Sheet1!A:A,0),0)))

 Copy down. See the attached.

 HTH
 Haseeb

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Fwd: Need Formula or Macros

2011-07-19 Thread Anish Shrivastava
Hi Anwar,

You requirement is not clear to me.. Merge few cells (manually) in the
sample sheet according to your requirement and send it.
Will write the code for you.

Thanks,
Anish
On Tue, Jul 19, 2011 at 3:56 PM, Anwar Mohd anr7no...@gmail.com wrote:

 Hi All,

 Can any one help me with this.

 Regards

 Anr

 -- Forwarded message --
 From: Anwar Mohd anr7no...@gmail.com
 Date: Mon, Jul 18, 2011 at 3:58 PM
 Subject: Need Formula or Macros
 To: excel-macros@googlegroups.com


 Hi Experts,

 I need formula or macro to concatenete the rows by mail id or reps.
 Attached the sample file.

 Thanks in advance.

 Regards

 Anr

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ I'm in budget vlookup hell. Please help

2011-07-19 Thread Anish Shrivastava
Hi Adam,

Are we missing the Sample db as attachement?

On Tue, Jul 19, 2011 at 6:40 PM, Adam Hamilton adamchamil...@gmail.comwrote:

 Hi, guys,

 So, I’ve created this complex budget workbook for the department I
 manage.  Everything is automated, however, now that I want to create a
 dashboard with the data, all of my syntax are failing!!!

 I’ve spent endless hours on this, can someone PLEASE guide me in the
 right direction?  As you can see from the sample db, the data I want
 to capture are all available in the Raw Data file.  But after weeks of
 trying, I haven’t a clue, and am hard coding everything.

 PLEASE HELP


 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Macro needed: write cell reference to end of cell, for all cells

2011-07-18 Thread Anish Shrivastava
Samuel,

It was my assumption that your sheet would be the same as my example sheet
which I used for macro. However, I feel sorry that it didnt help you.

Anyways, I will give you another macro which will search in each cell on the
sheet and if it finds a value then it will populate cells address at the
begining for the text but this may lead to problem with formulas. No matter
you put the additional text in the begining or at the end of the cell which
contains any formula. Additional text will break the formula.

Also please note that when we insert the cell's address within it , it would
be the actual address. Suppose if there is any value TEST in cell B16 on
sheet1, the macro would make it [[[Sheet1|B|16]]]TEST. Let me know if this
result is fine with you.

Let me know if it sounds fine with you, for now you can try the below code.
It will work with all the cells no matter where your text is.

*Sub test1()*
*Dim cel As Range*
*For Each cel In ActiveSheet.UsedRange
If cel.Value   Then
cel.Value = [[[  ActiveSheet.Name  |  Split(cel.Address, $)(1) 
|  cel.Row  ]]]  cel.Value
End If
Next cel
End Sub*
**
*Note :-  I can understand completely that you cannot share the sample sheet
with me ;)*

Cheers!!
Anish
On Sun, Jul 17, 2011 at 6:38 PM, Samuel Murray (Afrikaans translator) 
afrika...@gmail.com wrote:

 Anish Shrivastava wrote:

  Please have a look on the attached file. This might be helpful.
 
  I tried it only on one column since I dont know in how many columns you
 will have the data. If you could attach a sample sheet for your data, I can
 make it more feasible.

 Thanks, Anish, for your answer.  My apologies for not responding
 sooner.  I tried your macro on the day that you sent it, but it had a
 number of problems (and I also discovered some other things with
 regard to my needs).

 I thought that it would be okay to add the cell reference to the end
 of cells, but that actually caused certain formula cells to break.  It
 would be better to place the cell reference at the start of the cell.

 Your macro stops when it reaches an empty cell (even if that is not
 the last cell).

 From what I could see from your macro, the macro does not actually
 query a cell to find out what its position is, but just assumes that
 the first cell is in row 1, the second cell is in row 2, etc.  I
 wonder if this procedure might break if some cells are merged (for
 then the third cell may be in row 4 already, if cell 2 and 3 are
 merged).

 I tried to get your macro to work with both rows and columns by
 nesting two loops, but I'm no expert at Excel macros and I could not
 get the syntax to work.  Bummer. :-)  Though even if I did get it
 working, I suspect that the macro would not work because of the issue
 with merged cells.

 My spreadsheets typically have tens or hundreds of rows and columns,
 and some of the cells may be merged, so any solution would have to
 take that into account.  Unfortunately I can't send you an example
 file owing to confidentiality reasons... but any Excel file of e.g. a
 financial report should be a good example.

 Possible alternative approach

 An alternative approach (I'm not sure if this would have any bearing
 on how easy it would be to write a macro for it) would be that I add a
 nonsense string in front of each cell, and that the macro replaces
 that with the cell reference.  Adding e.g. XYZXYZ to the front of
 each cell would be simple (just do find/replace on the XML in the XLSX
 file).

 So, if you had a worksheet in which each cell contains XYZXYZ
 somewhere in the cell (or at the start of the cell), would it be
 possible to do a type of find/replace that replaces the XYZXYZ with
 the cell's reference (e.g. in the format [SheetName|Row|Col])?

 It would have to be the cell's actual reference (i.e. the cell must be
 queried to find out its position), and not just an assumed reference
 based on the number of rows or columns from the A1 position.

 Or would that have no effect on how easy/difficult it would be to
 write this macro?

 Thanks
 Samuel


 --

 --
 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/discussexcel


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

Re: $$Excel-Macros$$ Merge Vertically

2011-07-15 Thread Anish Shrivastava
Hi Karan/Norain,

what is use of merging all the cells on a sheet. After merging what are you
going to do with the sheet as it will become like a Notepad page and you
cant use any other formula/function.

I am asking this just out of my curiousity, would appreciate your answer.

Thanks,
Anish

On Fri, Jul 15, 2011 at 3:43 PM, NOORAIN ANSARI noorain.ans...@gmail.comwrote:

 Sub mergeall()

 Worksheets(Sheet4).Rows.Select

 With Selection

 .HorizontalAlignment = xlCenter

 .VerticalAlignment = xlBottom

 End With

 Selection.Merge

 End Sub


 On Fri, Jul 15, 2011 at 3:03 PM, karan 1237 karan1...@gmail.com wrote:

  *
 Hey friend,

 I facing this problem. I want to merge all columns in one time.

 Kαяαη*



  On Fri, Jul 15, 2011 at 2:56 PM, NOORAIN ANSARI 
 noorain.ans...@gmail.com wrote:

 Dear Karan,

 Please try it

 Sub mergecell()
 With Selection
 .HorizontalAlignment = xlGeneral
 .MergeCells = True
 End With
 End Sub

   On Fri, Jul 15, 2011 at 12:56 PM, karan 1237 karan1...@gmail.comwrote:

 Hello Friends,

 Once again I need your help. There is option for merge across in excel
 but is there any macro to merge vertically. It will merge selected range in
 vertically.


 Thnx
 Karan




 --

 --
 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/discussexcel




 --
 Thanks  regards,
 Noorain Ansari
 *http://noorain-ansari.blogspot.com/*http://noorain-ansari.blogspot.com/

 --

 --
 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/discussexcel


   --

 --
 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/discussexcel




 --
 Thanks  regards,
 Noorain Ansari
 *http://noorain-ansari.blogspot.com/*http://noorain-ansari.blogspot.com/

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ RE: Want to copy two rows in all sheets except few

2011-07-15 Thread Anish Shrivastava
Hello Sir,

I guess, I answered this query yesterday with attachment.

Please let me know if it didnt work or you want a different solution.

This was the code..

Sub copy_rows()
Dim sht As Integer

  For sht = 5 To Worksheets.Count
   Sheets(4).Select
 Rows(5:6).Copy
  Sheets(sht).Select
   Rows(5).Select
ActiveSheet.Paste
  Next sht
End Sub

thanks


On Fri, Jul 15, 2011 at 1:25 PM, MITTAL AJAY amit...@iocl.co.in wrote:

  Dear All,

 ** **

 I want to copy  paste special rows 5 6 of sheet “Heading” to all the
 sheets starting from “Balance Sheet” to “Note 31”

 ** **

 Can someone suggest code for the same.

 ** **

 *शुभकामनाओं सहित,*

 * *

 *अजय मित्तल,***

 *वित्त प्रबन्धक ***

 *पाइपलाइंस मुख्यालय *

 *टेलीफोन:0120-2448312*

 *ई-मेल** :** **amit...@iocl.co.in**  ***

 ** **

 *This Message was sent from Indian Oil Messaging Gateway, Refineries HQ,
 New Delhi, India. The information contained in this electronic message and
 any attachments to this message are intended for the exclusive use of the
 addressee(s) and may contain proprietary, confidential or privileged
 information. If you are not the intended recipient, you should not
 disseminate, distribute or copy this e-mail. Please notify the sender
 immediately and destroy all copies of this message and any attachments.*

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Multiple excel files

2011-07-15 Thread Anish Shrivastava
Hi Shrinivas,

Attached please find the Dump file with macro. You will have to copy and
paste your unique account numbers in Cell *M1 *before running the macro.

Data will be splitted based on the account numbers and new files will be
saved with account names.

Also note that I have done it with Excel 2007, if you dont have this
version, please let me know so that I can make it for 2003.

Let me know if you face any issues with this macro.

Below is the code for your ref.

-
Sub split_data()
Dim lst_row, lst_col, i, j As Integer
Dim ws_name As String
Dim nwkb As Workbook
Dim ac_num As String
Dim uname As String

Sheets(1).Rows(1).Select
Selection.Insert shift:=xlDown

lst_row = Sheets(1).Range(A2).End(xlDown).Row
lst_col = Sheets(1).Range(A3).End(xlToRight).Column
Range(A1, Cells(1, lst_col)).Select
Selection.AutoFilter

For j = 2 To Sheets(1).Range(M2).End(xlDown).Row
ac_num = Sheets(1).Cells(j, M).Value
uname = Environ(Username)
ActiveSheet.Range(A1, Cells(lst_row, lst_col)).AutoFilter
Field:=1, Criteria1:=ac_num

For i = 2 To 1000 ' change to your ranges
If Not Rows(i).Hidden Then
theFirstUnhiddenRowinArea = i
Range(B  i).Select
Exit For
End If
Next
Range(Selection, Cells(lst_row, lst_col)).Select

Selection.Copy
Set nwkb = Workbooks.Add
nwkb.Activate
ActiveSheet.Paste
nwkb.SaveAs C:\Users\  uname  \Desktop\  ac_num  .xlsx,
FileFormat:=xlOpenXMLWorkbook
nwkb.Close
Next j
Sheets(1).Rows(1).Delete shift:=xlUp
End Sub
--

Thanks,
Anish

On Fri, Jul 15, 2011 at 4:12 PM, Chidurala, Shrinivas 
shrinivas.chidur...@citi.com wrote:

  Dear Friends,

 Please help me create macro for splitting the dump file into multiple
 excel files as per account number in *column A* and file name should be
 account no. I have using the attached code for splitting the different dump
 file but it is not working in this dump file. Please advise on the same.

 Find attached sample of dump file , required format and code.


 ***Dump file   R**equired **file*

 Thanking in advance.

 Regards,
 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/discussexcel


-- 
--
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/discussexcel


Dump_Report_Anish.xlsm
Description: Binary data


Re: $$Excel-Macros$$ Multiple excel files

2011-07-15 Thread Anish Shrivastava
Hello Group,

It would be an add-in for my learing, if you can suggest the code for
finding unique account values from Column A using the code so that
Shrinivas doesnt have to copy and paste the unique account values manually
in cell M1.

Thanks,
Anish

On Fri, Jul 15, 2011 at 5:27 PM, Anish Shrivastava anish@gmail.comwrote:

 Hi Shrinivas,

 Attached please find the Dump file with macro. You will have to copy and
 paste your unique account numbers in Cell *M1 *before running the macro.

 Data will be splitted based on the account numbers and new files will be
 saved with account names.

 Also note that I have done it with Excel 2007, if you dont have this
 version, please let me know so that I can make it for 2003.

 Let me know if you face any issues with this macro.

 Below is the code for your ref.


 -
 Sub split_data()
 Dim lst_row, lst_col, i, j As Integer
 Dim ws_name As String
 Dim nwkb As Workbook
 Dim ac_num As String
 Dim uname As String

 Sheets(1).Rows(1).Select
 Selection.Insert shift:=xlDown

 lst_row = Sheets(1).Range(A2).End(xlDown).Row
 lst_col = Sheets(1).Range(A3).End(xlToRight).Column
 Range(A1, Cells(1, lst_col)).Select
 Selection.AutoFilter

 For j = 2 To Sheets(1).Range(M2).End(xlDown).Row
 ac_num = Sheets(1).Cells(j, M).Value
 uname = Environ(Username)
 ActiveSheet.Range(A1, Cells(lst_row, lst_col)).AutoFilter
 Field:=1, Criteria1:=ac_num

 For i = 2 To 1000 ' change to your ranges
 If Not Rows(i).Hidden Then
 theFirstUnhiddenRowinArea = i
 Range(B  i).Select
 Exit For
 End If
 Next
 Range(Selection, Cells(lst_row, lst_col)).Select

 Selection.Copy
 Set nwkb = Workbooks.Add
 nwkb.Activate
 ActiveSheet.Paste
 nwkb.SaveAs C:\Users\  uname  \Desktop\  ac_num  .xlsx,
 FileFormat:=xlOpenXMLWorkbook
 nwkb.Close
 Next j
 Sheets(1).Rows(1).Delete shift:=xlUp
 End Sub

 --

 Thanks,
 Anish

   On Fri, Jul 15, 2011 at 4:12 PM, Chidurala, Shrinivas 
 shrinivas.chidur...@citi.com wrote:

  Dear Friends,

 Please help me create macro for splitting the dump file into multiple
 excel files as per account number in *column A* and file name should be
 account no. I have using the attached code for splitting the different dump
 file but it is not working in this dump file. Please advise on the same.

 Find attached sample of dump file , required format and code.


 ***Dump file   R**equired **file*

 Thanking in advance.

 Regards,
 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/discussexcel




-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Macro needed: write cell reference to end of cell, for all cells

2011-07-14 Thread Anish Shrivastava
Hello Samuel,

Please have a look on the attached file. This might be helpful.

I tried it only on one column since I dont know in how many columns you will
have the data. If you could attach a sample sheet for your data, I can make
it more feasible.

Let me know if it works, otherwise will try a different way.

Thanks,
Anish

On Thu, Jul 14, 2011 at 3:21 PM, Samuel Murray (Afrikaans translator) 
afrika...@gmail.com wrote:

 G'day everyone

 I have no experience in writing macros for Excel, although I do
 regularly record and tinker with macros in Word.  Please could someone
 write the following macro for me :-)

 Background: I'm a language translator and I need a macro that would
 solve a problem I have with XLSX files.  As you may know, the raw data
 in an XLSX file is stored in some seemingly random order (usually in
 the
 order in which the cells were edited), even though the cells are
 displayed in Excel in the correct sequence.  My translation editor
 extracts the translatable text from the XLSX file directly (basically
 to
 a plain text), which means that I'm forced to translate the content in
 an order that is different from what it looks like in Excel itself.
 What would be useful is if the cell reference (worksheet name, row and
 column name/number) can be included in the actual text of each cell,
 so
 that I can see it while translating the individual cells (I can then
 remove the added text later).

 Macro: I need a macro that will write the location of each cell to the
 end of that cell.  For example, if the current content of cell B3 in
 the
 worksheet Sheet 1 is Hello world!, then the macro should change
 that
 into Hello world![[[Sheet 1|B|3]]] or something like that.  This
 should be done for all cells.

 I realise that doing this might break some cells because they
 contain
 formulas, but I don't think that that would matter to me because it is
 just temporary.  The cell reference need not be copied at the end of
 the
 cell -- it can also be at the start of the cell.

 Can anyone help me with this, please?  I don't often have this
 problem,
 but colleagues of mine encounter it more frequently, and I would like
 to
 find a useful solution for them.

 Thanks
 Samuel


 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Samuel.xlsm
Description: Binary data


Re: $$Excel-Macros$$ Problem with counters

2011-07-13 Thread Anish Shrivastava
PLease post a sample file with clear requirement.


On Wed, Jul 13, 2011 at 1:44 PM, Juan Antonio Castillo Guerrero 
castill...@gmail.com wrote:

 Hello group!

 I'm doing an Excel spreadsheet in which I posed the following problem, I
 put a sample of what I have and a sample of what you need to get.

 Sheet1
 A1: Subject
 Format: Text
 A2: Document Code
 format:
 AAA-BBB-99 999-L-1
 AAA-BBB-99 999-F-1
 AAA-BBB-99 999-T-1
 AAA-BBB-99 999-E-1
 AAA-BBB-99 999-M-1
 99 999-AAA-CCC-L-1
 99 999-AAA-CCC-F-1
 99 999-AAA-CCC-T-1
 99 999-AAA-CCC-E-1
 99 999-CCC-AAA-M-1

 9 Where is the project code (no change)
 AAA-BBB-CCC and AAA are the different destinations there are 6 different
 L, F, G, E, F are Letters, Fax, Transmitals, E-mails, Moms

 This is how it should be mounted Excel

 Now I put an example of how it should be:

 We started in A2

 A2: B2 Invoice Mail: 9-AAA-BBB-E-1
 A3: B3 Mail Invoice: 9-AAA-BBB-E-2
 A4: B4 Mail Invoice: 9-AAA-CCC-E-1
 A5: B5 Mail Invoice: 9-AAA-BBB-E-3
 A6: B6 Mail Invoice: 9-AAA-CCC-E-2
 A7: Letter Rejected B7: 9-AAA-BBB-L-1

 I mean, there we have 3 emails from AAA to BBB the counter is what changes
 . We also have 2 emails from AAA to CCC the counter increases.
 We also have a letter from AAA to BBB is 1 meter.

 I want to know what counter number for each case would be next. That is,
 having somewhere that if cell A8, I included an email from AAA to BBB
 would put the 00,004 which is the corresponding.

 I you can lend a hand? If you need more information I will be here.
 Greetings and thank you very much!

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ PROJECT DOUBT

2011-07-13 Thread Anish Shrivastava
Hi Sajid,

First of all, your sheet is protected, I couldnt save it as.. and 2nd you
are using wrong formulas.. specially which naming the range.

In the form sheet you are trying to do vlookup on a blank source.. in the
last sheet you are using a wrong name range for Vlookup..

We need an unprotected workbook in order to help you.




On Wed, Jul 13, 2011 at 9:20 PM, SAJID MEMON sajidwi...@hotmail.com wrote:

  Dear Ashish ji thanks for co-operate me in my privious doubt

 DEARS EXPERTS,

 I have attached my small part of project plz help me for solve it

 VLOOKUP IS RESPONDING #NA
  I HAVE USED FOLLOWING TWO FORMULAS

 =VLOOKUP(K13,PDATA,6,FALSE)
 AND
 =IF(ISNA(VLOOKUP(K13,PDATA,6,FALSE),,VLOOKUP(K13,PDATA,6,FALSE))

 BUT ITS NOT WORKING IN EXCEL 2003.

 AWAITING YOURS TIPS

 SAJID MEMON



 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Need help on String Matching

2011-07-12 Thread Anish Shrivastava
Thanks Ankur, Rajan, Haseeb and Ashish for helping me.. :)

On Tue, Jul 12, 2011 at 5:37 PM, Rajan_Verma rajanverma1...@gmail.comwrote:

  *=VLOOKUP(*A1*,Sheet1!A:A,1,0)*

 *Use this*

 * *

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *Anish Shrivastava
 *Sent:* Monday, July 11, 2011 3:43 PM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ Need help on String Matching

 ** **

 Hello Experts,

  

 I am writing this mail with a great hope.

  

 Please see the attached file where I have 2 sheets with data populated
 column A.

  

 I want to find the best possible match in Column B on 2nd Sheet From
 Sheet 1.

  

 Since the names are not exactly matching I need your help otherwise a
 simple vlookup formula would have done the task for me.

  

 Just to simplify my query and for a better understanding I would put the
 formula which I would have used if the naming convention on both the sheets
 were same.

  

 =VLOOKUP(A1,Sheet1!$A:$A,1,FALSE) in (cell B1 - Sheet 2)

  

 It will help me in reducing the manual work and also I would learn it..***
 *

  

 Thanks,

 Anish

 --

 --
 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/discussexcel

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Need help on String Matching

2011-07-11 Thread Anish Shrivastava
Hi Ashish,

This one looks great but it will only help if few of the characters at the
end of the text is missing.

For Example - Guitar Center, . (row # 1650) in the 2nd sheet is not able
to find the value because it's Guitar Center, Inc. in sheet one.

*I wanted something like which matches the first two or one Words (depending
upon the # of spaces the text has) and then match or even in between of the
text.*

Do we have anything in excel which counts the ASCII value of characters and
then matches it or anyway where we can use instr function and get the
results.

I guess I am asking for much but yet I would request for it.

Appreciate your help.

Thanks,
Anish



On Mon, Jul 11, 2011 at 5:38 PM, ashish koul koul.ash...@gmail.com wrote:

 try this

 VLOOKUP(A1*,Sheet1!$A:$A,1,0)

   On Mon, Jul 11, 2011 at 3:42 PM, Anish Shrivastava 
 anish@gmail.comwrote:

 Hello Experts,

 I am writing this mail with a great hope.

 Please see the attached file where I have 2 sheets with data populated
 column A.

 I want to find the best possible match in Column B on 2nd Sheet From
 Sheet 1.

 Since the names are not exactly matching I need your help otherwise a
 simple vlookup formula would have done the task for me.

 Just to simplify my query and for a better understanding I would put the
 formula which I would have used if the naming convention on both the sheets
 were same.

 =VLOOKUP(A1,Sheet1!$A:$A,1,FALSE) in (cell B1 - Sheet 2)

 It will help me in reducing the manual work and also I would learn it..

 Thanks,
 Anish

 --

 --
 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/discussexcel




 --
 *Regards*
 * *
 *Ashish Koul*
 *akoul*.*blogspot*.com http://akoul.blogspot.com/
 http://akoul.posterous.com/
 *akoul*.wordpress.com http://akoul.wordpress.com/
 My Linkedin Profile http://in.linkedin.com/pub/ashish-koul/10/400/830


 P Before printing, think about the environment.


 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ SaveAs

2011-07-11 Thread Anish Shrivastava
Hi Chandra Shekar,

I assume your query is incomplete. However I will try to answer..

If you want to save a macro free (no vba code in it) workbook, you should
save it as .xlsx. Remember there will be no macros in this file.

I hope you know the shortcut key for Save As (F12).

If you want a code to save as a macro free workbook then try below.

ActiveWorkbook.SaveAs Filename:=C:\Users\username\Desktop\Test1.xlsx, _
FileFormat:=xlOpenXMLWorkbook
best-
Anish

On Mon, Jul 11, 2011 at 7:30 PM, Chandra Shekar 
chandrashekarb@gmail.com wrote:

 Hi,

 I need to SaveAs workbook without VBA code in it.

 Thanks,

 Chandra Shekar

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Sort TCP/IP Address in Excel

2011-06-24 Thread Anish Shrivastava
Thanks Ashish for sharing this. Really very informative (Infact the website
itself contains huge information on VBA).

Hope to see something for sorting on Numbers...

Thanks,
Anish

On Fri, Jun 24, 2011 at 3:29 PM, OpenExcel.com 26may.1...@gmail.com wrote:

 Are you a reporting analyst in IT firm, network engineer, networking
 analyst or any one who works on network data? If yes, then you ever tried to
 sort TCP/IP Addresses, I'm sure something like red list in this figure,
 would have happened and you must have desired the green list. This is the
 issue of sorting with delimited numbers like 1.1.2,  1.1.1,  1.1.10 which
 results in 1.1.1,  1.1.10,  1.1.2.


 Generally, computer and languages on which computers operate treat them as
 string literals and sorting is based on their ASCII character number. So,
 the solution is to normalize them, sort them and denormalize back in their
 original form.


 This is how, the given VBA macro works. Hope, you understand it easily and
 leave any questions for clarifications in the comments section.


 CLICK HERE FOR THE VBA MACRO 
 CODEhttp://www.excelitems.com/2011/06/sort-tcp-ip-address-excel-delimited-vba.html



 Best Regards,
 Ashish Jain
 Facebook http://www.facebook.com/eXceLiTems/ 
 eXceLiTemshttp://www.excelitems.com/
 +91 -  - 40 - 48 - 43

 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Call Center InboundOutbound Manpower scheduling

2011-06-21 Thread Anish Shrivastava
Hi Venkat,

Can you please provide some sample sheet or data ? Otherwise can you please
elaborate more ?
Thanks,
Anish
On Mon, Jun 20, 2011 at 5:49 PM, Venkatesan c venkat1@gmail.com wrote:

 Dear All,

 Can any one have templates or websites for Call Center InboundOutbound
 Manpower  scheduling.

 --
 *Best Regards,*
 *Venkat*
 *
 *
 *
 *


 --

 --
 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/discussexcel


-- 
--
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/discussexcel


Re: $$Excel-Macros$$ Google Translator Using VBA - HELP !!!

2010-07-14 Thread Anish Shrivastava
Hi Harmeet,

Thanks a lot mate for this but I have been through this file and it converts
the values one by one and takes hell lot of time.
What I wanted was to upload the files to google translator... I m still
breaking my head with google to find it smhow.. but coudnt find it.

Thnks
ANISh



On Tue, Jul 13, 2010 at 11:48 PM, Harmeet Singh harmeet.hew...@gmail.comwrote:

 may b attached tool will help you...
 Warm Regards,

 Harmeet Singh
 IT Analyst
 McKinsey  Company
 http://www.facebook.com/Harmeeet


   On Tue, Jul 13, 2010 at 10:21 PM, Anish Shrivastava anish@gmail.com
  wrote:

  PLease help me on this.


 On 7/13/10, Anish Shrivastava anish@gmail.com wrote:

 Hello Experts,

 Yesterday, while using Google Translator manually I just thought if it
 can be automated using VBA. Actually what my task includes is to
 Convert various European language values to Standard English lang.

 I have values in a single Column (No fixed number of rows/values but
 it will be in a single column). What I do is, I separate all the
 European titles in different files according to their language and
 then upload it to google translator as a file. Then Select the
 language and click on go. It gives us the result on the next page.

 Now I just wanted to know, if VBA can do the following job for us.
 1. Copies the values from those column.
 2. Pastes it into a new file.
 3. Saves it, Closes it.
 4. Opens Internet Explorer with Google Translator.

 (I am able to do till here, next points are bit tricky for me or
 perhaps I dont know them yet).

 5. Uploads the document we saved.
 6. Selects the languages (Any european language to ENGLISH).
 7. Runs the translator.
 8. Copies the resulted values.
 9. Pastes it back to excel file as values (Perhaps, it takes less time
 to be pasted as values rather than the format we copy from websites.)

 Again I can take it further from here like putting them in the
 adjacent cells to original values and saving it, Closing it.

 I would appreciate it very much if you experts help me in this. It
 will save lots of my time and effort in performing my current task and
 above to that I would be very happy if I learn the problems from Point
 # 5 to 9.

 Thanks again for helping me in all my previous queries.

 Regards-
 ANISh

 --

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

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes
 about the learning and support from the group.Let friends and co-workers
 know they can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


 --

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

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


 --

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

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


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

Re: $$Excel-Macros$$ Google Translator Using VBA - HELP !!!

2010-07-13 Thread Anish Shrivastava
PLease help me on this.

On 7/13/10, Anish Shrivastava anish@gmail.com wrote:

 Hello Experts,

 Yesterday, while using Google Translator manually I just thought if it
 can be automated using VBA. Actually what my task includes is to
 Convert various European language values to Standard English lang.

 I have values in a single Column (No fixed number of rows/values but
 it will be in a single column). What I do is, I separate all the
 European titles in different files according to their language and
 then upload it to google translator as a file. Then Select the
 language and click on go. It gives us the result on the next page.

 Now I just wanted to know, if VBA can do the following job for us.
 1. Copies the values from those column.
 2. Pastes it into a new file.
 3. Saves it, Closes it.
 4. Opens Internet Explorer with Google Translator.

 (I am able to do till here, next points are bit tricky for me or
 perhaps I dont know them yet).

 5. Uploads the document we saved.
 6. Selects the languages (Any european language to ENGLISH).
 7. Runs the translator.
 8. Copies the resulted values.
 9. Pastes it back to excel file as values (Perhaps, it takes less time
 to be pasted as values rather than the format we copy from websites.)

 Again I can take it further from here like putting them in the
 adjacent cells to original values and saving it, Closing it.

 I would appreciate it very much if you experts help me in this. It
 will save lots of my time and effort in performing my current task and
 above to that I would be very happy if I learn the problems from Point
 # 5 to 9.

 Thanks again for helping me in all my previous queries.

 Regards-
 ANISh

 --

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

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


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


HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


$$Excel-Macros$$ Google Translator Using VBA - HELP !!!

2010-07-12 Thread Anish Shrivastava
Hello Experts,

Yesterday, while using Google Translator manually I just thought if it
can be automated using VBA. Actually what my task includes is to
Convert various European language values to Standard English lang.

I have values in a single Column (No fixed number of rows/values but
it will be in a single column). What I do is, I separate all the
European titles in different files according to their language and
then upload it to google translator as a file. Then Select the
language and click on go. It gives us the result on the next page.

Now I just wanted to know, if VBA can do the following job for us.
1. Copies the values from those column.
2. Pastes it into a new file.
3. Saves it, Closes it.
4. Opens Internet Explorer with Google Translator.

(I am able to do till here, next points are bit tricky for me or
perhaps I dont know them yet).

5. Uploads the document we saved.
6. Selects the languages (Any european language to ENGLISH).
7. Runs the translator.
8. Copies the resulted values.
9. Pastes it back to excel file as values (Perhaps, it takes less time
to be pasted as values rather than the format we copy from websites.)

Again I can take it further from here like putting them in the
adjacent cells to original values and saving it, Closing it.

I would appreciate it very much if you experts help me in this. It
will save lots of my time and effort in performing my current task and
above to that I would be very happy if I learn the problems from Point
# 5 to 9.

Thanks again for helping me in all my previous queries.

Regards-
ANISh

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


HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


Re: $$Excel-Macros$$ Help...Vlook up

2010-06-16 Thread Anish Shrivastava
Hi Regina,

Please attach a sample worksheet with your problem.

On Wed, Jun 16, 2010 at 3:17 PM, ExcelVBA regina.medha...@gmail.com wrote:

 I am trying to use function Vlookup, but the cell value I am refering
 contains a function and the result  I am getting is  #N/A , is anyone
 who knows how I can solve this problem.

 Regina

 --

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

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


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


HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


Re: $$Excel-Macros$$ invoice

2010-04-30 Thread Anish Shrivastava
Hi Rajesh,

You should provide some more details like which all raw data you have? For
creating automated Invoice Format, we can create 100 types of template but
what are your requirements.
Please be specific with your questions.

On Fri, Apr 30, 2010 at 12:22 PM, Rajesh D rajesh...@gmail.com wrote:

 can some help me to have automated invoice format
 --
 Thanks
 Rajesh

 --

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

 
 HELP US GROW !!

 We reach over 6,800 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


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


HELP US GROW !!

We reach over 6,800 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


Re: $$Excel-Macros$$ RE: PROTECTED SHEET

2010-03-03 Thread Anish Shrivastava
Please post your file here, will unprotect and send back to you.

--ANISh

On Wed, Mar 3, 2010 at 1:37 PM, Chieu Ang
chieuang@countryfoods.com.sgwrote:

  Dear all,



 Anyone can help:  How to unprotect the sheet( that has password)?



 Thanks



 Chieu Ang, Tan

 Finance Department



 Country Foods Pte Ltd

 22 Senoko Way

 Singapore 758044

 DID : 65-6499 5244

 Tel:65-6753 4188 EXT 178

 Fax: 65-6752 0866

 E-mail: chieuang@countryfoods.com.sg
  --

 --

 --
 Some important links for excel users:
 1. Follow us on TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Join our Facebook Group @
 http://www.facebook.com/group.php?gid=287779555678
 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

 
 HELP US GROW !!

 We reach over 6,800 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe

 --

 --
 Some important links for excel users:
 1. Follow us on TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Join our Facebook Group @
 http://www.facebook.com/group.php?gid=287779555678
 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

 
 HELP US GROW !!

 We reach over 6,800 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


-- 
--
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our Facebook Group @ http://www.facebook.com/group.php?gid=287779555678
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


HELP US GROW !!

We reach over 6,800 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


Fwd: $$Excel-Macros$$ Re: Urgent Help Needed!!

2010-01-06 Thread Anish Shrivastava
Experts

Please helpor advice if it is possible...

-- Forwarded message --
From: Anish Shrivastava anish@gmail.com
Date: Tue, Jan 5, 2010 at 2:29 PM
Subject: Re: $$Excel-Macros$$ Re: Urgent Help Needed!!
To: excel-macros@googlegroups.com


Hi Dave,

Attached please find the file with sample data, I have seprated titles
Character wise...we have 3 categories..
ENGLISH, EUROPEAN (Diacritics) and Multibyte (Chinese, Japanese, Korean
etc).
Please have a look and help me if it is possible.
Thank you very much!!
ANISh

  On Mon, Jan 4, 2010 at 6:43 PM, Dave Bonallack
davebonall...@hotmail.comwrote:

 Please attach a workbook with a sample of English and non-English
 characters
 Regards - Dave

 --
 Date: Mon, 4 Jan 2010 15:40:08 +0530
 Subject: $$Excel-Macros$$ Re: Urgent Help Needed!!
 From: anish@gmail.com
 To: excel-macros@googlegroups.com


 Experts!!!

 Any updates on below query??

 Thanks!!
 ANISh

 On Wed, Dec 30, 2009 at 1:31 PM, Anish Shrivastava anish@gmail.comwrote:

 Hello Experts,

 Thank you very much for helping me on my earlier queries.
 Could you please help me in finding cells which contains multibyte
 characters.
 I mean how can we find or select the cells which contains NON-English
 charecters.
 We get the data from almost each country in this world to work on where we
 have 2 caregories, ENGLISH DATA and NON-ENGLISH (Which is Multibyte), we do
 manual separation of these 2 caregories which takes hell lot of time and
 effort. Could you please suggest how can I automate it ?

 It will save my lots of time and manual work..

 Thanks!!
 ANISH



 --

 --
 Some important links for excel users:
 1. Follow us in TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 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
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe

  --
 Check out the latest features today Get more out of 
 Hotmailhttp://windowslive.ninemsn.com.au/hotmail/article/878466/your-hotmail-is-about-to-get-even-better

 --

 --
 Some important links for excel users:
 1. Follow us in TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 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
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe

-- 
--
Some important links for excel users:
1. Follow us in TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
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
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


ANISH_multibyte.xls
Description: MS-Excel spreadsheet


Re: $$Excel-Macros$$ Re: Urgent Help Needed!!

2010-01-05 Thread Anish Shrivastava
Hi Dave,

Attached please find the file with sample data, I have seprated titles
Character wise...we have 3 categories..
ENGLISH, EUROPEAN (Diacritics) and Multibyte (Chinese, Japanese, Korean
etc).
Please have a look and help me if it is possible.
Thank you very much!!
ANISh

On Mon, Jan 4, 2010 at 6:43 PM, Dave Bonallack davebonall...@hotmail.comwrote:

 Please attach a workbook with a sample of English and non-English
 characters
 Regards - Dave

 --
 Date: Mon, 4 Jan 2010 15:40:08 +0530
 Subject: $$Excel-Macros$$ Re: Urgent Help Needed!!
 From: anish@gmail.com
 To: excel-macros@googlegroups.com


 Experts!!!

 Any updates on below query??

 Thanks!!
 ANISh

 On Wed, Dec 30, 2009 at 1:31 PM, Anish Shrivastava anish@gmail.comwrote:

 Hello Experts,

 Thank you very much for helping me on my earlier queries.
 Could you please help me in finding cells which contains multibyte
 characters.
 I mean how can we find or select the cells which contains NON-English
 charecters.
 We get the data from almost each country in this world to work on where we
 have 2 caregories, ENGLISH DATA and NON-ENGLISH (Which is Multibyte), we do
 manual separation of these 2 caregories which takes hell lot of time and
 effort. Could you please suggest how can I automate it ?

 It will save my lots of time and manual work..

 Thanks!!
 ANISH



 --

 --
 Some important links for excel users:
 1. Follow us in TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 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
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe

  --
 Check out the latest features today Get more out of 
 Hotmailhttp://windowslive.ninemsn.com.au/hotmail/article/878466/your-hotmail-is-about-to-get-even-better

 --

 --
 Some important links for excel users:
 1. Follow us in TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 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
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


-- 
--
Some important links for excel users:
1. Follow us in TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
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
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


ANISH_multibyte.xls
Description: MS-Excel spreadsheet


$$Excel-Macros$$ Re: Urgent Help Needed!!

2010-01-04 Thread Anish Shrivastava
Experts!!!

Any updates on below query??

Thanks!!
ANISh

On Wed, Dec 30, 2009 at 1:31 PM, Anish Shrivastava anish@gmail.comwrote:

 Hello Experts,

 Thank you very much for helping me on my earlier queries.
 Could you please help me in finding cells which contains multibyte
 characters.
 I mean how can we find or select the cells which contains NON-English
 charecters.
 We get the data from almost each country in this world to work on where we
 have 2 caregories, ENGLISH DATA and NON-ENGLISH (Which is Multibyte), we do
 manual separation of these 2 caregories which takes hell lot of time and
 effort. Could you please suggest how can I automate it ?

 It will save my lots of time and manual work..

 Thanks!!
 ANISH


-- 
--
Some important links for excel users:
1. Follow us in TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
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
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


$$Excel-Macros$$ Urgent Help Needed!!

2009-12-31 Thread Anish Shrivastava
Hello Experts,

Thank you very much for helping me on my earlier queries.
Could you please help me in finding cells which contains multibyte
characters.
I mean how can we find or select the cells which contains NON-English
charecters.
We get the data from almost each country in this world to work on where we
have 2 caregories, ENGLISH DATA and NON-ENGLISH (Which is Multibyte), we do
manual separation of these 2 caregories which takes hell lot of time and
effort. Could you please suggest how can I automate it ?

It will save my lots of time and manual work..

Thanks!!
ANISH

-- 
--
Some important links for excel users:
1. Follow us in TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
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
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


Re: $$Excel-Macros$$ max_units_on_a_day

2009-12-18 Thread Anish Shrivastava
Hi,

You can simply use SUBTOTAL function, which you can find under DATA submenu.

Attached please find the solution.

Cheers!!
ANISH

On Fri, Dec 18, 2009 at 3:20 PM, Praveen kumar praku...@rediffmail.comwrote:

 dear all


 need a help..


 A similar product in sold to different customers on the same day at
 different prices.
 I need to select the Unit Price at which the product has sold Maximum units
 on any particular day.
 and if there is a tie in the maximum units sold, then the higher of the
 rate per unit needs to be selected.( as seen in 05th oct)


 attachd the xl sheet,Kindly help

 thanx in advance

 reg

 Praveen

 http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline@middle?

 --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe

-- 
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe

max_units_on_a_day_Ani.xls
Description: MS-Excel spreadsheet


Re: $$Excel-Macros$$ PIVOT TABLE AND PERCENTAGE

2009-12-17 Thread Anish Shrivastava
Hi Skanda,

Attached please find the solution..Lemme know if the format is according to
your requirements..

Cheers!!
ANISH

On Wed, Dec 16, 2009 at 8:46 PM, Skanda skanda.pokkun...@gmail.com wrote:

 Srini,
  Thanks for the response.Let me explain my requirement.

 We need the percentage at the physician level.
 say for instance, Srini has total qty 30.
 so the BCBS for srini is 10/30 which is 0.33% and wellcare for srini is
 20/30 which is 0.66%.

 we should not combine samuel total with srini total to get the percentage
 at phy level.

 and could you if you can..explain to me in steps how to get the pivot table
 if you have a solution.

 Skanda.



 On Wed, Dec 16, 2009 at 3:13 AM, Srinivasulu Reddy Yarasi 
 seenuyar...@gmail.com wrote:

 Hi Skanda,

 Updated pivot with quantity column too

 regards
 Srinivasulu Yarasi


 On Wed, Dec 16, 2009 at 1:41 PM, Srinivasulu Reddy Yarasi 
 seenuyar...@gmail.com wrote:

 Hi Skanda,

 Attached excel file with sample.

 U can delete two records of Srini  refresh pivot table. U will get data
 for for the example u specified.

 regards
 Srinivasulu Yarasi


 On Wed, Dec 16, 2009 at 2:17 AM, Skanda skanda.pokkun...@gmail.comwrote:

 can we get percentage in pivot table?

 say for instance i have physican payer Mg_dispensed columns

 Samuel  Aetna  100
 Samuel  BCBS  200
 Samuel  wellcare   200

 when we do a pivot can we get something like this:
 samuel   Aetna 10020%
 samuel   BCBS 20040%
 samuel   wellcare  200 40%

 --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes
 about the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe



 --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes
 about the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


 --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


-- 
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers 

Re: $$Excel-Macros$$ SUMIF realted

2009-12-17 Thread Anish Shrivastava
hey Suhas,

Could you please attach a sheet wid this example as it looks bit messed up
here...data is not being displayed properly...once you send the sheet, will
certainly give it a try..

ANISH

On Wed, Dec 16, 2009 at 4:35 PM, Suhas chet...@gmail.com wrote:

 Hi everyone,

 I am facing some problems with SUMIF, below is the details

 I download a report which has almost 4 rows from SAP. the data
 looks like this

  AB C
 DE  F
   Supplier No.Material ClassMaterial No.  Year
 Month Rating

 1  123456 0678   A24245  2009
 01  10
 2  123456 0678   A24245  2009
 02  40
 3  123456 0567   B24236  2009
 04  36



 Now, i have a standard template where i want to import the data. I
 copy paste the unique values of Supplier no., material class and
 Material no. but the monthly calculations ( i.e the sum of Ratings)
 must be automatic.

  AB C
 DEF G
   Supplier No.Material ClassMaterial No.  YTD Jan
 FebMarch

 1
 2009  01 02 03
 2  123456 0678   A24245
 10  40  0
 3  123456 0567   B24236
 00   36


 How can i get the values in the E, F and G coloumns, I tried SUMIF but
 its not working, I am getting the toal value of 86.

 --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain  @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe

-- 
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe

Re: $$Excel-Macros$$ identifying duplicates

2009-12-17 Thread Anish Shrivastava
Hey Steve,

Looks like your problem can be solved by using simple vlookup. Can you
please provide an example sheet so that I can put in the solution... (Sorry,
no time out of office work to create the example sheet myself)

Cheers!!
ANISH

On Thu, Dec 17, 2009 at 1:14 PM, Steve sca...@aol.com wrote:

 I have a few lists of names and dobs, each over 1,000 lines.  I am
 trying to find names and dob's that are common to two lists.  The
 names I want to pull out are the ones that are on each, if they are
 only on one list I am not interested in them.

 What I've done so far is paste two lists together, sort by dob and
 last name, and scroll down the list looking for duplicates. This is a
 PITA when the lists, pasted together, exceed 3,000 lines.

 Can anyone steer me to a better way of getting this done?  I will be
 doing this routinely.  There is one master list and I will be
 comparing a few other lists to this master list looking for people
 that appear on both.

 Thanks,
 Steve

 --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain  @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe

-- 
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe

$$Excel-Macros$$ Need Urgent Help ~ Vlookup

2009-11-13 Thread Anish Shrivastava
Hello Experts,

Once agian I am here with a new problem (Thanks for helping me earlier, on
my code).

This time I am stuck with Vlookup, actually I have a list of lot # for which
I have to find TIC # from another table but the problem is it has got
multiple occurances. Our simple vlookup picks the first one (as it alwasy
does :-) ) . But I want all the values *(TIC #)* in column B (as
Concatenated) for the *lot numbers* available in Column A from the table.

I tried with INDEX and various formulas available on net..but not
successful

Hope to have a solution from you experts soon... (have attached the file wid
bit explaination there too)

Thanks!!
ANISH

-- 
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe

Anish_Prob.xls
Description: MS-Excel spreadsheet


Re: $$Excel-Macros$$ Need Urgent Help ~ Vlookup

2009-11-13 Thread Anish Shrivastava
Hi Punit,

Thanks for you helping attempt, but tht's not wht I want. You used just
vlookup in 2 cells...I m afraid to say tht but even I know tht much of
basics (No offence). Could you please let me know wht if the occurance is 3
times. :P

Cheers!!
ANISH

On Fri, Nov 13, 2009 at 3:06 PM, punit poddar p2pod...@gmail.com wrote:

 Hi

 You can use the file attached below:

 Punit

 --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe

-- 
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe

Re: $$Excel-Macros$$ Need Urgent Help ~ Vlookup

2009-11-13 Thread Anish Shrivastava
Thanks Aindril for your help.

N GROUP ...M REALLY SORRY For what I wrote...trust me I realized it later
tht it wasnt a right way...was kinda frustrated in office.. :(


On 11/13/09, Aindril De aind...@gmail.com wrote:

 Dear Anish,

 You would need a UDF for this:

 Use the following code :

 Option Explicit

 Public Function vlookupall$(strSearch As String, rngRange As Range,
 lngLookupCol As Long)

 'Vlookupall searches in first column of rngRange for strSearch and returns
 corresponding
 'values of column lngLookupCol if strSearch was found. All corr. values are
 collected and
 'returned in one string (result of function).

 Dim i As Long
 If lngLookupCol  rngRange.Columns.Count Then
vlookupall = CVErr(xlErrValue)
Exit Function
 End If
 vlookupall = 
 For i = 1 To rngRange.Rows.Count
If rngRange(i, 1).Text = strSearch Then

vlookupall = vlookupall  rngRange(i, lngLookupCol).Text  , 

End If
 Next i
 End Function

 Insert a Module and Paste the above code in that.

 Then in the cell B2 type the new  formula.
 The attached file has the solution.

 Thanks to : http://www.sulprobil.com/html/vlookupall.html

 *And for GOD's sake please donot write like what you had.. to someone who
 is trying to help you*
 This is a forum where everyone is welcome and we try to help each other. If
 by any chance someone is not able to help/understand your problem. Then
 someone else will help you. So please be patient. Tomorrow when you try to
 help someone you will not like that person writing like this to you...
 Right!!!

 Regards,
 Andy


 On Fri, Nov 13, 2009 at 5:45 PM, Anish Shrivastava anish@gmail.comwrote:

 Hi Punit,

 Thanks for you helping attempt, but tht's not wht I want. You used just
 vlookup in 2 cells...I m afraid to say tht but even I know tht much of
 basics (No offence). Could you please let me know wht if the occurance is 3
 times. :P

 Cheers!!
 ANISH

   On Fri, Nov 13, 2009 at 3:06 PM, punit poddar p2pod...@gmail.comwrote:

 Hi

 You can use the file attached below:

 Punit

 --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes
 about the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


 --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes
 about the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


  --

 --
 Some important links for excel users:
 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 2. Excel tutorials at http://www.excel-macros.blogspot.com
 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain @ jainayus...@gmail.com or
 Ashish Jain @ 26may.1...@gmail.com
 
 HELP US GROW !!

 We reach over 6,500 subscribers worldwide and receive many nice notes about
 the learning and support from the group. Our goal is to have 10,000
 subscribers by the end of 2009. Let friends and co-workers know they can
 subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe



-- 
--
Some important links for excel

$$Excel-Macros$$ Re: Need Urgent Help (While Statement)

2009-10-29 Thread Anish Shrivastava
Hi Hemant,

I tested the code and made few changes as needed but still it says For/Next
loop not Initialized, where are we wrong in below code, please advice.

*Sub test()
j = 1
While j = 65000
For i = 2 To Worksheets(Replace_Values).Cells(65000, 1).End(xlUp).Row
If Worksheets(1).Cells(j, 2) Like Sheets(Replace_Values).Cells(i, 1) Then
Worksheets(1).Cells(j, 3) = Sheets(Replace_Values).Cells(i, 2)
Else
Worksheets(1).Cells(j, 2) = Worksheets(Replace_Values).Cells(i, 3)
End If
i = i + 1
Next i
j = j + 1
Wend
End Sub*

Cheers!!
ANISH

On Tue, Oct 27, 2009 at 2:15 PM, Anish Shrivastava anish@gmail.comwrote:

 *Hi Hemant,*

 Will surely try it and let you know the results. If it works then this
 would be Great.
 Thank you very much.

 *Hi Dave,*

 Thanks mate for explaining the use of Goto100, I must say as a learner
 it is a quite useful info for me.

 *Hi Deepak,*

 Thanks for suggesting this, I will try writing select Case (As I am a
 beginner in VBA). I learnt 3 ways to accomplish dis task after posting this
 mail. :)

 Cheers!!
 ANISH

   On Mon, Oct 26, 2009 at 3:12 PM, Hemant Hegde 
 hemantbales...@gmail.comwrote:

 Hi Anish

 If you are simplifying the code, you can even reduce your code to less
 than 20 lines from 100s of IF conditions

 1) Create a sheet named Replace Values

 2) Make 3 columns with the headings:

 a) Find Text  (col A)

 b) Replace Text (col B)

 c) Alternative text (col C)


 3) Write in (Col A) values you want to find and replace (Use the wild
 cards here and not in the code! you may write *SALES* or *Sales?* or
 other patterns)

 4) Write in (Col B) the new value to be written if the condition is
 satisfied

 5) Write in (Col C) the new value to be written if the condition is NOT
 satisfied


 6) Now write the following code:

 j=1
 'write your While-wend loop here!
 '
 For i = 2 to sheets(Replace Values).cells(1,65000).end(xlup).row
 if  cells(j,1) like Sheets(Replace Values).cells(i,1) then
 cells(j,1)=Sheets(Replace Values).cells(i,2)
 else
 cells(j,1)=Sheets(Replace Values).cells(i,3)
 endif
 Next i
 '---
 j = j+1
 'Wend!

 I have not tested this code yet.

 Pls test and let me know if its not working

 2009/10/26 Hemant Hegde hemantbales...@gmail.com

  Hi Anish

 Its not the problem with WHILE or WEND

 Make sure you have closed all IF conditions with END IF at proper
 places

 Just check if you have started an IF condition inside the loop and tried
 to close it after the loop

 2009/10/26 Anish Shrivastava anish@gmail.com

 Hello Experts..

 I m using While and Wend statement in my code and it has got more than
 100 if conditions. when I run the macro it says WEND WITHOUT WHILE, it's
 buggin my head...and I don know wht's wrong. Could anyone of you please 
 help
 me...

 Sample code...

 Sub dept()
 i = 1
 z = Cells(Rows.Count, B).End(xlUp).Row
 While i = z
 If Cells(i, 2).Value Like *FINANCE* Then
 Cells(i, 4) = FINANCE / ACCOUNTING
 Else
 If Cells(i, 2).Value Like *ACCOUNTS* Then
 Cells(i, 4) = FINANACE / ACCOUNTING
 Else
 If Cells(i, 2).Value Like *SALES* Then
 Cells(i, 4) = SALES
 *(IN BETWEEN THR R MORE THAN 100 IF CONDITIONS LIKE THIS)*
 endif
 endif
 endif
 i=i+1
 wend
 end sub

 -best
 ANISH




 --
 Hemant Hegde





 --
 Hemant Hegde

 



--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ Re: Need Urgent Help (While Statement)

2009-10-26 Thread Anish Shrivastava
Hi Hemant,

Thanks for your reply. Yea I checked that and made it correct, Actually I
had written numerous number of IF conditions (to be Precise 156) so few
ENDIF's were missing..but now it's working...

Thanks a lot!!!

DIS GROUP ROCKS coz OF PPL LIKE U...

CHeerS
ANISH

On Mon, Oct 26, 2009 at 12:23 PM, Hemant Hegde hemantbales...@gmail.comwrote:

 Hi Anish

 Its not the problem with WHILE or WEND

 Make sure you have closed all IF conditions with END IF at proper
 places

 Just check if you have started an IF condition inside the loop and tried to
 close it after the loop

 2009/10/26 Anish Shrivastava anish@gmail.com

 Hello Experts..

 I m using While and Wend statement in my code and it has got more than 100
 if conditions. when I run the macro it says WEND WITHOUT WHILE, it's
 buggin my head...and I don know wht's wrong. Could anyone of you please help
 me...

 Sample code...

 Sub dept()
 i = 1
 z = Cells(Rows.Count, B).End(xlUp).Row
 While i = z
 If Cells(i, 2).Value Like *FINANCE* Then
 Cells(i, 4) = FINANCE / ACCOUNTING
 Else
 If Cells(i, 2).Value Like *ACCOUNTS* Then
 Cells(i, 4) = FINANACE / ACCOUNTING
 Else
 If Cells(i, 2).Value Like *SALES* Then
 Cells(i, 4) = SALES
 *(IN BETWEEN THR R MORE THAN 100 IF CONDITIONS LIKE THIS)*
 endif
 endif
 endif
 i=i+1
 wend
 end sub

 -best
 ANISH




 --
 Hemant Hegde

 


--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ Re: Need Urgent Help (While Statement)

2009-10-26 Thread Anish Shrivastava
Thanks Dave,

Looks like we have got another idea to ignore count of ENDIF's ;) ... by the
way wht r disadvantages of using 100 instead of ENDIF??

Cheers!!
ANISH

On Mon, Oct 26, 2009 at 2:23 PM, Dave Bonallack
davebonall...@hotmail.comwrote:

 Hi Anish,
 I also think it's just a mis-count on the End If's
 You can simplify your code like this.


 Sub dept()
 i = 1
 z = Cells(Rows.Count, B).End(xlUp).Row
 While i = z
 If Cells(i, 2).Value Like *FINANCE* Then Cells(i, 4) = FINANCE /
 ACCOUNTING: GoTo 100
 If Cells(i, 2).Value Like *ACCOUNTS* Then Cells(i, 4) = FINANACE
 / ACCOUNTING: GoTo 100
 If Cells(i, 2).Value Like *SALES* Then Cells(i, 4) = SALES:
 GoTo 100
 '(IN BETWEEN THR R MORE THAN 100 IF CONDITIONS LIKE THIS)
 100
 i = i + 1
 Wend
 End Sub

 Some programmers disapprove of using GoTo, but for your code it removes the
 need for End If's.

 Regards - Dave.


 --
 Date: Mon, 26 Oct 2009 10:47:27 +0530
 Subject: $$Excel-Macros$$ Need Urgent Help (While Statement)
 From: anish@gmail.com
 To: excel-macros@googlegroups.com


 Hello Experts..

 I m using While and Wend statement in my code and it has got more than 100
 if conditions. when I run the macro it says WEND WITHOUT WHILE, it's
 buggin my head...and I don know wht's wrong. Could anyone of you please help
 me...

 Sample code...

 Sub dept()
 i = 1
 z = Cells(Rows.Count, B).End(xlUp).Row
 While i = z
 If Cells(i, 2).Value Like *FINANCE* Then
 Cells(i, 4) = FINANCE / ACCOUNTING
 Else
 If Cells(i, 2).Value Like *ACCOUNTS* Then
 Cells(i, 4) = FINANACE / ACCOUNTING
 Else
 If Cells(i, 2).Value Like *SALES* Then
 Cells(i, 4) = SALES
 *(IN BETWEEN THR R MORE THAN 100 IF CONDITIONS LIKE THIS)*
 endif
 endif
 endif
 i=i+1
 wend
 end sub

 -best
 ANISH




  --
 Find out how here Use Messenger in your Hotmail 
 inboxhttp://windowslive.ninemsn.com.au/article.aspx?id=823454

 



--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ Need Urgent Help (While Statement)

2009-10-25 Thread Anish Shrivastava
Hello Experts..

I m using While and Wend statement in my code and it has got more than 100
if conditions. when I run the macro it says WEND WITHOUT WHILE, it's
buggin my head...and I don know wht's wrong. Could anyone of you please help
me...

Sample code...

Sub dept()
i = 1
z = Cells(Rows.Count, B).End(xlUp).Row
While i = z
If Cells(i, 2).Value Like *FINANCE* Then
Cells(i, 4) = FINANCE / ACCOUNTING
Else
If Cells(i, 2).Value Like *ACCOUNTS* Then
Cells(i, 4) = FINANACE / ACCOUNTING
Else
If Cells(i, 2).Value Like *SALES* Then
Cells(i, 4) = SALES
*(IN BETWEEN THR R MORE THAN 100 IF CONDITIONS LIKE THIS)*
endif
endif
endif
i=i+1
wend
end sub

-best
ANISH

--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ Re: Opening excel workbook-Password recovery

2009-10-21 Thread Anish Shrivastava
Hi Anurag,

IF you dont mind then please send the file to me, I will give it a try (as
of now dis cracker has cracked all the excel file ...hope this one also
count on)...

I will recover and send it bk to u.. (I cant send you the Setup file coz I
don hv it for dis software/cracker, I hv got it installed)...

Cheers!!
ANISH

On Tue, Oct 20, 2009 at 8:27 PM, Anurag Singh Aswal 
anurag.singh.as...@ericsson.com wrote:



 Hi Excel mahagurus,

 First of all, I appreciate this group and especially the troubleshooter
 members very much and pay my highest regards to them.

 My query is that, I need to open an excel workbook which requires
 password.Have already tried my hand on some recovery softwares but no luck
 as of now.
 Is there any way to unlock it and if any, please let me know.




 ANURAG SINGH ASWAL
 Mobile +91-9818399155
 anurag.singh.as...@ericsson.com


 


--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ NEED HELP reg XLA files

2009-10-19 Thread Anish Shrivastava
Hello Experts...

Could anyone please tell meis is possible to dig in a *.xla file...I
mean if anyone created any Macro and converted it to *.xlaDo we have any
way to Dig into the codes in tht XLA file???


Please reply on this if it is possible

Cheers!!
ANISH

--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ Re: PDF password CRACKER

2009-10-07 Thread Anish Shrivastava
Hi Prabhakar,

This *.rar file is asking for password, could you please let us know the
same so that we can use the application.

Thanks a ton for sharing it..

Cheers!!
ANISH

On Wed, Oct 7, 2009 at 4:40 PM, prabhakar jain prj...@gmail.com wrote:



 On Wed, Oct 7, 2009 at 10:11 AM, N.Shivkumar shiv1...@gmail.com wrote:

 Is it possible for you to send me the file I will crack the same and
 return back to you

 Bye

 N.SHIVKUMAR
 Mobile : +919866533180
 Office : +914027685310
 Res.: +914040035774
 Alternate Email: shiv1...@yahoo.com






 --
 Prabhakar Jain
 Mumbai


 


--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ Re: help needed

2009-10-07 Thread Anish Shrivastava
Hey Sai,

You just have to use the formula, it's very easy ...you have to link the
files together...I don think we need any macro for this thing...

Suppose if you want the value of cell 'A1' of sheet 1 in the cell B1 of
sheet2 then just got to B1 of sheet 2 and type = and then go to sheet 1
and select 'A1'. Try it ...it's very simple...

I hope I answered ur query. Let us know if we can help u further on
this

Cheers!!
ANISH

On Wed, Oct 7, 2009 at 11:50 PM, sai prasath saiprasath.ex...@gmail.comwrote:

 Hi Friends.

 i need help for a project. my question is

 for example if i have 2 excel sheets if i change a value in first excel
 sheet automatically it should replicate in the second excel file also, for
 this do we need to use any macros or we can perform this by using any
 advance formule.

 it would be great if i get the answer.

 thanks in advance,

 Saiprasth

 


--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ Re: PDF password CRACKER

2009-09-30 Thread Anish Shrivastava
I have a Password Cracker application...may be I can give it a try..plz do
send ur file..

Cheers!!
ANISH

On Wed, Sep 30, 2009 at 5:00 PM, vivek agrawal vivek.agrawa...@gmail.comwrote:

 Hi There..

 I have downloaded a pdf file which is PASSWORD PROTECTED.

 CAn anyone PLEASE help crack the password. IF YES, then pls tell me so that
 i can mail the pdf file to the concerned person.

 I would be very oblidged for the help.

 Thanks in advance


 Thanks and Regards,
 Vivek Agrawal
 Skype ID - vivek.agrawal83

 GoogleMoonlight.com  - Saving energy-Save Earth



 


--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ Re: Help required Colour on Rows and Column

2009-03-25 Thread Anish Shrivastava
Hi Sachin,
It was very simple...Just use Conditional Format feature...

Attached is the file wid solution..

Thanks!!!
ANISH

On Wed, Mar 25, 2009 at 4:17 PM, Sachin Shukla sachina...@gmail.com wrote:

 Dear All,

 Please help me on said subjects . I attached sheet for same problem.

 Thanks in Advance


 Sachin Shukla
 Business Analyst
 New Delhi

 


--~--~-~--~~~---~--~~
-
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
-
-~--~~~~--~~--~--~---



Colour.xls
Description: MS-Excel spreadsheet


$$Excel-Macros$$ Re: VBA Code to Export Text files from Sheet

2009-03-25 Thread Anish Shrivastava
Hi Anil,
Do you mean to say, you want 4 text files...
And what do you mean by specified delimiter...

I can give you the code which wil seprate the rows in any number of files
but the file name would be same as file01, file02 file03 and so on

Please lemme know...if it's okay...

On Wed, Mar 25, 2009 at 5:57 PM, Anil Patel meet2a...@gmail.com wrote:

Hiii...


 Guys I have a worksheet with around 4 rows.. And I need a VBA code to
 Export Each Row in a separate Text file, with specified delimiter . .

 And all the files should be exported in a particular folder, Named on any
 of particular cell in the row...

 Thanks in advance.

 Regards.
 Anil.

 


--~--~-~--~~~---~--~~
-
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
-
-~--~~~~--~~--~--~---