Re: $$Excel-Macros$$ Re: Macro to create attendance Sheet for each Employee
hi, shared only example format data like that On Saturday, November 21, 2015 at 9:30:37 PM UTC+5:30, pramodb35 wrote: > > Akash. > Kinldy Share Excel File > > On Sat, Nov 21, 2015 at 9:01 PM, Akash Singh > wrote: > >> Hi, > > > > Can anyone guide who write a code in VBA in excel to find the employee > > attendance record or check whether employee working more than 6 day in a > > week > > > > akash > > > > -- > > Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? > It’s > > =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ > > https://www.facebook.com/discussexcel > > > > FORUM RULES > > > > 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) Jobs posting is not allowed. > > 6) Sharing copyrighted material and their links is not allowed. > > > > NOTE : Don't ever post confidential data in a workbook. Forum owners and > > members are not responsible for any loss. > > --- > > You received this message because you are subscribed to the Google > Groups > > "MS EXCEL AND VBA MACROS" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to excel-macros...@googlegroups.com . > > To post to this group, send email to excel-...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/excel-macros. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > PramodSingh > -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 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) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout. code.xlsx Description: MS-Excel 2007 spreadsheet
$$Excel-Macros$$ help required
can we use vlookup or match,index function over here to sort column A like column B, if possible can anyone do it for me, I tried on column E:I but failed Thanks in advance NOTE: Priority is the formula if not possible then you may use macro -- *Izhar Ul Haq* Cell# 009203069072597 -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 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) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout. QUESTION FOR SORTING ARTICLES.xlsx Description: MS-Excel 2007 spreadsheet
Re: $$Excel-Macros$$ help required
See if this works On Sun, Nov 22, 2015 at 4:55 PM, Izhar wrote: > can we use vlookup or match,index function over here to sort column A like > column B, if possible can anyone do it for me, I tried on column E:I but > failed > Thanks in advance > NOTE: > Priority is the formula if not possible then you may use macro > > > > -- > *Izhar Ul Haq* > > > > Cell# 009203069072597 > > -- > Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s > =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES > > 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) Jobs posting is not allowed. > 6) Sharing copyrighted material and their links is not allowed. > > NOTE : Don't ever post confidential data in a workbook. Forum owners and > members are not responsible for any loss. > --- > You received this message because you are subscribed to the Google Groups > "MS EXCEL AND VBA MACROS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to excel-macros+unsubscr...@googlegroups.com. > To post to this group, send email to excel-macros@googlegroups.com. > Visit this group at http://groups.google.com/group/excel-macros. > For more options, visit https://groups.google.com/d/optout. > -- Sam Mathai Chacko -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 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) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout. Sort Using INDEX MATCH COUNTIF ROW.xlsx Description: MS-Excel 2007 spreadsheet
$$Excel-Macros$$ Re: help required
> Hi Sam > Thank you very much for your quick response > Later i researched on the particular question and i concluded a result > which may be seen in the attach workbook...but thank you very much for your > quick response > > -- > *Izhar Ul Haq* > > > > Cell# 009203069072597 > -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 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) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout. HELP REQUIRED.xlsx Description: MS-Excel 2007 spreadsheet
$$Excel-Macros$$ Date Issue
PSA. Can someone please create a macro for me that would eliminate this frustrating problem that I have with date converstion. DATE1 = Source. It always gets imported in as 2 different date formats. DATE2 is what I want returned in a MMDD format. I have manually change it in this example. Thanks. -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 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) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout. DATE PROBLEM.xlsx Description: MS-Excel 2007 spreadsheet
$$Excel-Macros$$ Re: keyboard shortcut by dragging for copying
CTRL+D CTRL + R to copy the formula below and to the right. Regards, Mandeep baluja On Monday, November 23, 2015 at 9:32:12 AM UTC+5:30, GENIUS wrote: > > HI EVERYONE > can we use any keyboard key for double clicking the plus sign for copying > the formula below in the range or is there any macro by using for the same > as mention above, actually using keyboard one may do his job immediately > instead by using mouse... > please help > > > > > > -- > *Izhar Ul Haq* > > > > Cell# 009203069072597 > -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 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) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout.
$$Excel-Macros$$ Re: Date Issue
Try this and let me know !! Sub Dates_Test() Dim i As Long For i = 1 To Cells(Rows.Count, 1).End(xlUp).Row Cells(i, 3).Value = Cells(i, 1).Value Cells(i, 3).Value = Format(Cells(i, 1).Value, "mmdd") Cells(i, 3).NumberFormat = "General" Next End Sub Regards, Mandeep baluja -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 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) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout.
Re: $$Excel-Macros$$ Dictionary_Query
Any update >?? On Thursday, November 19, 2015 at 1:34:51 PM UTC+5:30, Mandeep Baluja wrote: > > Hi paul, > > But while correcting it this is giving error. please find the attached > file. it works on small amount of data easily but while using the data in > sheet it gives error. I admit by mistake i put demo in the code. > > Regards, > Mandeep baluja > > > > > > On Wednesday, November 18, 2015 at 6:07:13 PM UTC+5:30, Paul Schreiner > wrote: >> >> First: >> at the beginning of each module, use: >> >> Option Explicit >> >> (or in VB Editor, use Tools->Options and select "Require Variable >> Declaration") >> >> This will ensure that you "declare" each variable and don't >> unintentionally mis-spell a variable and thereby create a new variable. >> >> Now, once I added your sub to my own workbook, I found several variables >> that did not appear in a Dim statement. >> >> Now, perhaps you have these declared as "Public" or outside of this macro? >> >> Specifically, I found: >> >> i, arr, Arr1, d, Demo >> >> What is "Demo" ?? >> In this macro, you're not using it elsewhere, so when the statement: >> >> Sheet2.Range("b1").Resize(UBound(Demo), 1) = Application.Transpose(Arr1) >> runs, ubound(Demo) would be "empty" >> >> Without the "Option Explicit", VBA would automatically declare it as a >> type Variant. >> It is necessary for the variable in the UBound() function to be an array. >> If the variable is a "Variant", then the Ubound() function would indicate >> that the variable type does not "match" the type required. >> >> I suspect that you INTENDED the statement to be: >> >> Sheet2.Range("b2").Resize(UBound(Arr1), 1) = Application.Transpose(Arr1) >> >> (note: also changed to "b2" rather than "b1") >> >> *Paul* >> - >> >> >> >> >> >> >> >> *“Do all the good you can,By all the means you can,In all the ways you >> can,In all the places you can,At all the times you can,To all the people >> you can,As long as ever you can.” - John Wesley* >> - >> >> -- >> *From:* Mandeep Baluja >> *To:* MS EXCEL AND VBA MACROS >> *Sent:* Wednesday, November 18, 2015 5:58 AM >> *Subject:* $$Excel-Macros$$ Dictionary_Query >> >> Hi paul, >> >> Will you please help me to learn this thing why this code gives error >> line was highlighted with comment you can search it with question mark in >> code ,I have alternatives to do this but why that line gives error but not >> the above ones. >> >> >> Sub Dictionary_Example() >> >> '- >> Dim Dic_objAs Object: 'This is a Dictionary object >> Dim lrow As Long: 'Find out the Last row >> '- >> >> 'Create a dictionary object >> Set Dic_obj = CreateObject("scripting.dictionary") >> >> 'Clear the dictonary object >> Dic_obj.RemoveAll >> >> With ActiveSheet >> lrow = .Cells(Rows.Count, 1).End(xlUp).Row >> For i = 2 To lrow >> If (Not (Dic_obj.exists(Cells(i, 1).Value))) Then >> Dic_obj.Add Cells(i, 1).Value, Cells(i, 2).Value >> Else >> Dic_obj.Item(Cells(i, 1).Value) = >> Dic_obj.Item(Cells(i, 1).Value) & "-" & Cells(i, 2).Value >> End If >> Next >> >> 'This is one dimensional array arr(0,659) >> 'Note:- Whenever keys copied into array it always one dimensional >> with lower bound 0 >> 'By using Transpose we will make it single dimensional >> arr = Dic_obj.keys >> >> 'Pasting it on the Sheet2 only unique keys >> Sheet2.Range("a2").Resize(UBound(arr), 1) = Application.Transpose(arr) >> >> 'Find out the Error >> arr1 = Dic_obj.items >> >> 'While running this below line We get an error type mismatch Why?? >> Because i don't want to run this below loop, _ >> for retrieving items from those keys. >> >> 'Sheet2.Range("b1").Resize(UBound(Demo), 1) = >> Application.Transpose(Arr1) >> >> d = Dic_obj.Count >> >> 'Retrieving Items of particular Key >> For i = 2 To Dic_obj.Count >> Sheet2.Cells(i, 2).Value = Dic_obj.Item(Sheet2.Cells(i, >> 1).Value) >> Next >> End With >> End Sub >> >> Regards, >> Mandeep baluja >> >> -- >> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s >> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ >> https://www.facebook.com/discussexcel >> >> FORUM RULES >> >> 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 bypass