Re: $$Excel-Macros$$ Excel VBA Password Issues/ Cannot view the code

2014-06-20 Thread Paul Schreiner
ed a couple of these after forgetting my OWN passwords. 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 W

Re: $$Excel-Macros$$ Excel VBA Password Issues/ Cannot view the code

2014-06-20 Thread Paul Schreiner
omeone stealing another's work. Evidently, the author wanted to ensure others didn't have access to their code.   If you really wish to break their password protection, a simple Google search for: "excel vba password recovery" results in 234,000 matches. Paul -

Re: $$Excel-Macros$$ Need VBA code to track log off and log on Time

2014-06-19 Thread Paul Schreiner
)   then, your Excel application can read the event log. If someone else has another approach, I'd be pleased to hear abou it!!! 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 y

Re: $$Excel-Macros$$ Want Excel formula to Omit saturday sunday!

2014-06-17 Thread Paul Schreiner
with: =IF(WEEKDAY(A1-9,2)<=5,A1-9,   IF(WEEKDAY(A1-9,2)=6,A1-7,A1-8)) 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 lo

Re: $$Excel-Macros$$ Re: If then

2014-06-16 Thread Paul Schreiner
you probably haven't defined a Range object called rangename2 and set this Range Object to be a specific cell. in which case the "default" property of the range object is the Value property. I don't like relying on defaults myself... Paul ---

Re: $$Excel-Macros$$ If then

2014-06-16 Thread Paul Schreiner
is:   If RangeName1 < 16 then ... End If If RangeName2 < 16 then ... End If If RangeName3 = 16 then ... End If 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

Re: $$Excel-Macros$$ Date Format Query

2014-06-16 Thread Paul Schreiner
e solution using the parsing the string and re-assembling it as a valid date is what is necessary. 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

Re: $$Excel-Macros$$ Re: How to pause the Excel VBA macro at certain point and then start again

2014-06-12 Thread Paul Schreiner
   Exit For     End If     Application.StatusBar = "Iteration: " & i     Application.Wait Now() + TimeValue("00:00:05") Next i Application.StatusBar = False If (wb4 Is Nothing) Then     MsgBox "Failed to open File"     Exit Sub End If MsgBox "Complete" End

Re: $$Excel-Macros$$ Re: How to pause the Excel VBA macro at certain point and then start again

2014-06-12 Thread Paul Schreiner
mpts to open a file, which is just LOADED with CPU activity! 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 Wesle

Re: $$Excel-Macros$$ help: someone help me crack the password for these 2 macro files?

2014-06-12 Thread Paul Schreiner
w, you aren't trying to "steal" anything (probably). It might even be your own file you've forgotten the password to! But how do WE know that?   sorry,   Paul - “Do all the good you can, By all the means you can, In all the ways you can, In

Re: $$Excel-Macros$$ How to pause the Excel VBA macro at certain point and then start again

2014-06-10 Thread Paul Schreiner
End If     End If     Application.Wait Now() + TimeValue("00:00:05")     Next Loopcnt     If (Not FileFlag) Then     MsgBox "Loop Count exceeded without identifying File"     Else     MsgBox "File Size = " & Format(LastSize, "###,###,###,#

Re: $$Excel-Macros$$ last sunday of the month?

2014-06-07 Thread Soumyendu Paul
Vaibjav, Can u explain your formula? On Thu, Jun 5, 2014 at 1:00 PM, Vaibhav Joshi wrote: > hi > > use formula =INT((EOMONTH(F1,0)-1)/7)*7+1 > > where cell f1 contains any date in that month. > > Cheers!! > > > On Thu, Jun 5, 2014 at 12:55 PM, 'Hanumant' via MS EXCEL AND VBA MACROS < > excel-ma

Re: $$Excel-Macros$$ Convert Text to xls or xlsm

2014-06-03 Thread Paul Schreiner
for someone to do the work for you, make assumptions as to where the file is located and how many sheets of data you would like. do you know how to write macros? will you be able to modify what we provide to fit your specific needs? Paul - “Do all the good

Re: $$Excel-Macros$$ Average of Average in Excel

2014-06-03 Thread Paul Schreiner
erall average (or average of all numbers) is ((100 * 10) + (500 * 20) + (1000 * 30)) / 1600 =  25.625 so, in THIS case, taking the average of the averages isn't the same as determining the overall average. So... the answer to your question is: probably, but

Re: $$Excel-Macros$$ Convert Text to xls or xlsm

2014-06-03 Thread Paul Schreiner
let me know what approach you'd like to take. 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 a

Re: $$Excel-Macros$$ Trying to group/flag data of same value together in sets

2014-06-02 Thread Paul Schreiner
ut it would be a LOT more helpful if I could get a sample data set and perhaps a partial sample of the output desired. 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 al

Re: $$Excel-Macros$$ Over 33,554 rows problem

2014-06-02 Thread Paul Schreiner
seem to exceed the 32768 limit., but inconsistently.   But then, none of this makes any difference if you're not using a counter...   again.. can you share your code? Paul - “Do all the good you can, By all the means you can, In all the ways you can, I

$$Excel-Macros$$ Trying to group/flag data of same value together in sets

2014-06-02 Thread Paul Wilson
y 2 John 3 Paul The ID's which fall into the secondary sets would have their data appended to reflect. At the same time my hope is to be able to record this information of ID's that have this occur, so I can run a secondary process where it will search for the originating ID in another

Re: $$Excel-Macros$$ Complex cell formulas

2014-05-22 Thread Paul Schreiner
I must be missing something. This looks to be a simple VLookup function.   You have a sheet that has a list of department/GL codes. when you enter the department number, use a VLookup() function to retrieve the GL Account number.   what is the issue? what am I missing?  Paul

Re: $$Excel-Macros$$ Moving Row Data to the Left Forcing Blank Cells to the Right

2014-05-21 Thread Paul Schreiner
2 + 1).Value     If (Cells(R, C2).Value & "X" <> "X") Then bFlag = True     Next C2     Cells(R, nCols).Value = ""     If (bFlag) Then C = C - 1     End If     Next C    

Re: $$Excel-Macros$$ Password protected work sheet

2014-05-19 Thread Paul Schreiner
o way to know for certain that you actually have authorization to "break" this password. If you need to do this, I'd suggest Google. Searching for "Excel password recovery free" results in 2,280,000 hits. Surely one of them can help you! Paul -

Re: $$Excel-Macros$$ What is Call Back URL...

2014-05-15 Thread Paul Schreiner
Remember:  Google is your friend.   searching for "Call Back URL" returns 1,530,000 hits.   with explanations and examples!  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

Re: $$Excel-Macros$$ Excel macro from 2003 no longer works in Excel 2010

2014-05-15 Thread Paul Schreiner
lags_Master.xlsb").Sheets("Ora_PN").Range("B3").Value  works but: Workbooks("Ora_RMS_Flags_Master").Sheets("Ora_PN").Range("B3").Value   Does not...   so it looks like you simply need to include the file extension. Paul -

Re: $$Excel-Macros$$ Need help in Mid function

2014-05-02 Thread Paul Schreiner
f claim" to "claim receivable" is: =MID(A1,AmtofClaim,ClaimRecv-AmtofClaim) inserting the two FIND() formulas into this formula gives: =MID(A1,FIND("amt. of claim",A1)+14,FIND(" claim receivable",A1)-(FIND("amt. of claim",A1)+14)) if you

Re: Fwd: $$Excel-Macros$$ Value need to update as per master (excel sheet Attached)

2014-05-01 Thread Paul Schreiner
value. so what happens if the value is 12.55? your table shows 67.90 as the "next" target% value.   It might be helpful to have more examples. Paul - “Do all the good you can, By all the means you can, In all the ways you can, In all the places yo

Re: $$Excel-Macros$$ Macro to look for x in Columns and paste data in worksheet in various folders

2014-04-30 Thread Paul Schreiner
Do you know how to write macros and are asking for help? or are you asking for someone to write the macro? 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

Re: $$Excel-Macros$$ Need some help to change data format - urgent

2014-04-29 Thread Paul Schreiner
u need a "rule" that says that in-times after... 18:00? will be calculated from the previous day. Also, it looks like your workday is calculated based on 7 hours (451 is 420 minutes + 31 "extra" minutes) Is this correct? What you ask can be

Re: $$Excel-Macros$$ Excel formula help need

2014-04-29 Thread Paul Schreiner
?? That's what sorting does.   evidently, you have additional requirements that you've not included. 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

Re: $$Excel-Macros$$ Re: find duplicate rows of data between sheets macro

2014-04-28 Thread Paul Schreiner
Any place you have: Sheets(   add the workbook name: Workbooks("Firstfile").Sheets( For the workbook that contains the code, you can use: Thisworkbook.Sheets( Paul - “Do all the good you can, By all the means you can, In all the ways you can,

Re: $$Excel-Macros$$ Re: find duplicate rows of data between sheets macro

2014-04-25 Thread Paul Schreiner
)).Interior     .Pattern = xlSolid     .PatternColorIndex = xlAutomatic     .Color = 65535     .TintAndShade = 0     .PatternTintAndShade = 0     End With     Next inx     End If     Next     Application.StatusBar = False   

Re: $$Excel-Macros$$ Re: find duplicate rows of data between sheets macro

2014-04-25 Thread Paul Schreiner
Must be something I changed when I went to test my large sample.   I'll take a look at it. 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 ca

Re: $$Excel-Macros$$ find duplicate rows of data between sheets macro

2014-04-25 Thread Paul Schreiner
ray = Split(Dict_Data1.Item(sData), ",")     For inx = 0 To UBound(rArray)     With Sheets(Sht1).Range(Cells(rArray(inx), "A"), Cells(rArray(inx), "I")).Interior     .Pattern = xlSolid     .Pa

Re: $$Excel-Macros$$ Time Stamp Limited to Target Cells Within a Specic Range

2014-04-25 Thread Paul Schreiner
Try testing to see if the selected target "intersects" the specified range:   If (Not Intersect(Range(Target.Address), Range("D5:G10")) Is Nothing) Then Paul - “Do all the good you can, By all the means you can, In all the ways you ca

Re: $$Excel-Macros$$ macro to open comma delimited, run actions, save as csv

2014-04-24 Thread Paul Schreiner
you're getting a file format error...   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,

Re: $$Excel-Macros$$ Convert JSON to VBA array

2014-04-22 Thread Paul Schreiner
uot;string"",0,""NULL""],[""M"",""string"",0,""NULL""],[""N"",""string"",0,""NULL""],[""O"",""string"",0,&qu

Re: $$Excel-Macros$$ inserting missing date in data

2014-04-16 Thread Paul Schreiner
ot;A") - 1 Then     Rows(i + 1).Insert xlShiftDown     Cells(i + 1, "A") = Cells(i, "A") + 1     Cells(i + 1, "B") = 0     End If     i = i + 1     Loop Application.ScreenUpdating = True Paul

Re: $$Excel-Macros$$ Need help to find the missing emp id on particular date

2014-04-15 Thread Paul Schreiner
case in which I may have used an array, I prefer to use a Dictionary Object.   unless, duplicates are allowed.   hope this helps.     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 tim

Re: $$Excel-Macros$$ Random numbers in decimal

2014-04-14 Thread Paul Schreiner
between 1 and 5 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

Re: $$Excel-Macros$$ Creating UserForm on Upper, Lower and Proper case

2014-04-10 Thread Paul Schreiner
hat case, you're spot on. (although the whole .Visible = true/false for the option buttons is a bit over-the-top) 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

Re: $$Excel-Macros$$ Creating UserForm on Upper, Lower and Proper case

2014-04-10 Thread Paul Schreiner
) Next Rng or how to make a User Form? 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

Re: $$Excel-Macros$$ Need help to find the missing emp id on particular date

2014-04-08 Thread Paul Schreiner
cell. When the date is changed, the countifs update, and the filter is re-applied. 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 a

Re: $$Excel-Macros$$ Link Custom Toolbar with a file

2014-03-07 Thread Paul Schreiner
bar, or re-creates it if necessary. Exiting the workbook causes the toolbar to be deleted. The only issue with this that I've had is if I have two copies of the workbook open. Closing one deletes the toolbar.  But I just have to minimize and maximize the workbook to get it back. Paul

Re: $$Excel-Macros$$ How to link a cell between two worksheets keeping the Hyperlink?

2014-03-06 Thread Paul Schreiner
re to check to see if they differ, because if you simply copy the .Value you'll get stuck in a loop because it will keep processing the calculate event) Paul - “Do all the good you can, By all the means you can, In all the ways you

Re: $$Excel-Macros$$ Re: "Two-dimensional" interpolation

2014-03-06 Thread Paul Schreiner
owever, that's going to cause you a problem with: Cells(45, 5) = LinInterpolate(7, Cl_Array, Cl_Array)   I think you're going to have to either: Rewrite LinInterpolate to operate on Arrays, or create a second version that uses Arrays instead of Ranges. Paul --

Re: $$Excel-Macros$$ Re: Array from range

2014-03-05 Thread Paul Schreiner
I understand.   Actually, I started writing that, thinking that it was going to be the problem. Then, decided to do some testing and observation and determined that it was NOT the cause, but might become a problem in the future, so left it in the email. Paul

Re: $$Excel-Macros$$ Re: Array from range

2014-03-05 Thread Paul Schreiner
1) Nexts should work. (provided you have a value for Pi.  for some reason, my compiler accepts it as a declared variable, but doesn't have a value!) Paul - “Do all the good you can, By all the means you can, In all the ways you can, In all the places y

Re: $$Excel-Macros$$ Macro Single code require for if condtion

2014-03-04 Thread Paul Schreiner
se "HSR-CRD(HR)", _ "HSR-GET HOSTEL", _ "HSR-HRD(HR)", _ "HSR-JINDAL CLUB(HR)", _ "HSR-JINDAL HOUSE", _ "HSR-JMS(HR)"     Selection.Offset(0, 12).Value = "Hisar"     Case Else     Selection.Of

Re: $$Excel-Macros$$ Run macro when file is opened by another excel file?

2014-02-28 Thread Paul Schreiner
y the file and open the copy, it will warn them at that time. 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.” - J

Re: $$Excel-Macros$$ Long if-then function? HELP

2014-02-26 Thread Paul Schreiner
Could you send me the entire function? (you could send it directly)   Is there a relationship between the variables that influences the rate?   I think I'd like to look at nested Select statements.     Paul - “Do all the good you can, By all the mean

Re: $$Excel-Macros$$ Alternate for concatenate in excel

2014-02-26 Thread Paul Schreiner
There's ALWAYS alternatives, but without more information, I have no way of knowing which would be preferable.   To ME, 500 is a "small" number (I deal with 10,000+) Paul - “Do all the good you can, By all the means you can, In all the ways

Re: $$Excel-Macros$$ Alternate for concatenate in excel

2014-02-25 Thread Paul Schreiner
B1 & " " & C1 & " " & D1 & " " & E1 & " " & F1 the "displayed value" of A1 can exceed your 255 character limit. Paul - “Do all the good you ca

Re: $$Excel-Macros$$ VBA for-loop: for I = (current cell) to (count active cells below)

2014-02-25 Thread Paul Schreiner
se words, but it's still good programming practice to avoid their use.   .Length is a "property" of the textrange object. that's why I used nRows instead.     Hope this helps.       Paul - “Do all the good you can, By all the means you can, In al

Re: $$Excel-Macros$$ Alternate for concatenate in excel

2014-02-25 Thread Paul Schreiner
I'm not sure what you mean by:   "excel cell has sql query"   Are you using VBA to run a SQL query and placing the result in the cell? or are you using an "External" source that populates the Excel sheet? and.. what is it you're trying to do? Paul ---

Re: $$Excel-Macros$$ Re: Introduce Yourself !!

2014-02-25 Thread Paul Schreiner
ugger. Being able to pause the program and step through while watching the values of variables (and change the value on-the-fly) is extremely effective! So.. Welcome! Paul - “Do all the good you can, By all the means you can, In all the ways you can, In al

Re: $$Excel-Macros$$ batch file Query

2014-01-15 Thread Paul Schreiner
Thirdly, it is ill-advised (not recommended) that you call a subroutine "Run" (as in Sub Run() )   Run is an Excel Application method. by calling a user-defined subroutine the same name as a standard method, depending on where

Re: $$Excel-Macros$$ Run time error '1004' Method "Range " of oblect '_Globle fails

2014-01-02 Thread Paul Schreiner
sion arrays. >From the "help" for .List, .List can be used to load a combobox or listbox if loading multi-dimensional arrays: 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 al

$$Excel-Macros$$ Re: Please provide the code for data entry as mentioned in excel

2013-12-12 Thread Michael Paul
Add these codes: [code] Private Sub UserForm_Activate() Dim AlphaInSlNo As String Dim NumInSlNo As String Dim LenSLNo As Integer Dim NewSlNo As String Sheets("VolunteerList").Select LastRecNum = Cells(Rows.Count, "a").End(xlUp).Row 'to go to last data cell inspite of blank cells Range("A" &

Re: $$Excel-Macros$$ Please help on FileName = Dir()

2013-12-05 Thread Paul Schreiner
t;.   the statement itself returns the first entry in CurrDir.   to loop through the rest of the entries in Currdir, you use Dir() So basically, Filename = Dir(CurrDir & "*.*",vbDirectory) gets the first entry, Filename = Dir() loops through the rest of the entries.   BTW:  All this c

Re: $$Excel-Macros$$ need help with nested IF AND formula

2013-12-04 Thread Paul Schreiner
try: =IF(C4>121,IF(C8<50,10,20),    IF(C8<50,(1*C4*60)/(0.75*1000), (2*C4*60)/(0.75*1000)    )    ) Paul - “Do all the good you can, By all the means you can, In all the ways you can, In all the place

Re: $$Excel-Macros$$ While Not EOF too Slow

2013-09-11 Thread Paul Schreiner
to speed it up.   BTW: How many sheets does it typically break down into? how many parameters? (columns)? 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

$$Excel-Macros$$ Query Regarding Range.Dirty

2013-09-04 Thread Soumyendu Paul
Hi Experts. I have found numerous examples of *Range("E3").Dirty* like standard VBA code in websites. As per their explanation; it forces "E3" cell to recalculate when Excel is manual calculation mode. Could anyone in this group give me an example of practical application of this property?

Re: $$Excel-Macros$$ Calculate expirationDate based on CreationDate and Number

2013-08-29 Thread Paul Schreiner
()     Dim dval As Date     dval = Range("A1").Value     dval = dval + 30     Range("B1").Value = dval End Sub 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

Re: $$Excel-Macros$$ Counting the number of times in a range

2013-08-29 Thread Paul Schreiner
lue is: 41514.623611 So, if you're using the countif of only the "time" portion, then the number count will not be what you expect. Good luck. Paul - “Do all the good you can, By all the means you can, In all the ways you can, In all the pl

Re: $$Excel-Macros$$ Un protect the excel file

2013-07-23 Thread Paul Schreiner
running wonderfully for nearly 10 years, but I want to make some additions. But it doesn't have the "structured" password that I use today, so I have no idea what I would've used! So, I guess I'll be looking too! Paul - “Do all the

Re: $$Excel-Macros$$ Un protect the excel file

2013-07-23 Thread Paul Schreiner
rotection.   That said: If you simply Google "Excel password recovery" you'll get several sites that should have something that can assist you. Paul - “Do all the good you can, By all the means you can, In all the ways you can, In all the places yo

Re: $$Excel-Macros$$

2013-07-23 Thread Paul Schreiner
ter than [space]. The problem is with the first character (>). in some cases, you may WANT to count values greater than a specific value. =countif provides this capability. However, in your case, you actually want to compare the exact string. If you were to change your representations to: 0-3 Day

Re: $$Excel-Macros$$ Re: Whole Sheet is Hidden, But actually not Hidden!

2013-07-19 Thread Paul Schreiner
5 million records it is DERIVED from, I suppose it's not very large.. 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 y

Re: $$Excel-Macros$$ To SUM Dynamic Columns

2013-07-19 Thread Paul Schreiner
mewhat) complex formula, it might not be obvious when the formula isn't giving desired results. This can be caught early if the logic is understood.   glad I could help. Paul - “Do all the good you can, By all the means you can, In all the ways you can, In a

Re: $$Excel-Macros$$ To SUM Dynamic Columns

2013-07-19 Thread Paul Schreiner
In your first message, you didn't mention that the value in column A may not match the values in the row!   The solution I provide could be used. simply use the MATCH() function to return the row number of the matching value from column A and use that instead of the ROW() functions I used.

Re: $$Excel-Macros$$ To SUM Dynamic Columns

2013-07-19 Thread Paul Schreiner
$1)+7)   The problem is, this is a STRING. the SUM() function wants a RANGE.   There is a function that "interprets" a string as a Range. The function is INDIRECT()   So, now you have: =INDIRECT(ADDRESS(ROW(),8) & ":" & ADDRESS(ROW(

Re: $$Excel-Macros$$ Whole Sheet is Hidden, But actually not Hidden!

2013-07-19 Thread Paul Schreiner
My PC was upgraded, with a graphics card with 5Gb memory.   The problem still occurs sometimes, but usually when I have LOTS of applications open. 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,

$$Excel-Macros$$ Join Me

2013-06-29 Thread Soumyendu Paul
Hi, Please join me in this group Regards, Soumyendu -- 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 thr

Re: $$Excel-Macros$$ Preserving OLD values

2013-06-14 Thread Paul Schreiner
iple selections, you'll have to get creative with you will have to create a public variable that can be set to an array.   Then, loop through the "targets" passed to the events and store the values and row numbers  in the array.     Paul - “D

Re: $$Excel-Macros$$ Conditional Search & Replace

2013-06-06 Thread Paul Schreiner
ent means to "Dimension" which the way in which we "Declare" that a variable (Rng) is type "Range".   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 time

Re: $$Excel-Macros$$ Conditional Search & Replace

2013-06-06 Thread Paul Schreiner
.80 is the same as Range.Value = .80 In your code, you use: If Range.Value < 0.8 yet you then use: Range = .80 it seems that the usage is inconsistent. hope this helps, Paul From: Prafull Jadhav To: excel-macros@googlegroups.com Sent: Thu, June 6, 2013 7

Re: $$Excel-Macros$$ Abridged summary of excel-macros@googlegroups.com - 32 Messages in 12 Topics

2013-06-05 Thread Paul Schreiner
more to figure out and assemble sample data.   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

Re: $$Excel-Macros$$ Macro - To Combine data from multiple worksheets into one single worksheet

2013-06-04 Thread Paul Schreiner
and past the selection.   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

Re: $$Excel-Macros$$ Hey I want to know how to create variable macros for creating the attendence sheet plese help me out

2013-06-04 Thread Paul Schreiner
s? Could you please explain what it is you wish to do? 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.”

Re: $$Excel-Macros$$ Re: how to crack Excel VBA password

2013-05-31 Thread Paul Schreiner
Please keep in mind that the FORUM RULES state: 3) Don't post questions regarding breaking or bypassing any security measure. 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

Re: $$Excel-Macros$$ Error show while excel file opening

2013-05-31 Thread Paul Schreiner
o longer cause a problem.   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 eve

Re: $$Excel-Macros$$ External excel file insert to single excel file

2013-05-22 Thread Paul Schreiner
You basically have two choices. You either have to put the files in a shared folder (that others would also have access to) or you have to include the files in the "Master file". You said that you don't want to send the files, so that leaves you with storing them in a shared

Re: $$Excel-Macros$$ SUM IN USERFORM

2013-05-21 Thread Paul Schreiner
al End Function Then, for each of the TextBoxes, I would create a Change event that calls the Sum_Textboxes() function to update the total: Private Sub TextBox1_Change()     SUM.Txt_Total = Sum_Textboxes End Sub   Paul - “Do all the good you

Re: $$Excel-Macros$$ Data Validation and Automation

2013-05-20 Thread Paul Schreiner
    '  Look in previous rows for records with same "ID"     '--     For RowNum = 1 To Targ.Row - 1     If (Cells(RowNum, "A").

Re: $$Excel-Macros$$ Macro to open all file in folder

2013-05-20 Thread Paul Schreiner
function, add a line: msg = msg & chr(13) & msg back in the  CopyData() macro, replace the msgbox line with: msgbox msg   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 ti

Re: $$Excel-Macros$$ PROTECT EACH SHEET WITH MSG BOX.

2013-05-17 Thread Paul Schreiner
er (_), like: ActiveSheet.Protect DrawingObjects:=True, _     Contents:=True, _     Scenarios:=False   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

Re: Fwd: Fwd: $$Excel-Macros$$ PROTECT EACH SHEET WITH MSG BOX.

2013-05-16 Thread Paul Schreiner
ow! I'd rather spend the time helping your knowledge grow!   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 eve

Re: $$Excel-Macros$$ Macro to open all file in folder

2013-05-16 Thread Paul Schreiner
cnt + Get_FolderData(SubFldr.Path)     Next SubFldr     Get_FolderData = cnt End Function Function Copy_FileData(Foldername)     Application.ScreenUpdating = False     Workbooks.Open Foldername & "Book1.xls"     ' copy stuff ...     Workbooks("Book1.xls").Close savechan

Re: $$Excel-Macros$$ Macro to open all file in folder

2013-05-16 Thread Paul Schreiner
How comfortable are you with VBA? How much of this do you need help with? The Filesystem object is used to set up the folder/subfolder navigation. the function calls themselves are not difficult. Do you then need help copying rows of data?   Paul - “Do all

Re: Fwd: $$Excel-Macros$$ PROTECT EACH SHEET WITH MSG BOX.

2013-05-16 Thread Paul Schreiner
response = vbYes Then     ... ElseIf response = vbNo Then     ...      Else     Exit For End If Result included below... Paul From: DHAMODHARAN KARTHIKEYAN To: excel-macros@googlegroups.com Sent: Thu, May 16, 2013 11:39:32 AM Subject: Fwd: $$

Re: $$Excel-Macros$$ IDENTIFY EMPTY SHEETS AND MOVE TO END

2013-05-16 Thread Paul Schreiner
g the sheet that is now in the first position! So, instead, I would start at the LAST sheet, and begin processing to the first. Like: For Sht from sheets.count to 1 step -1   if (sheets(sht).range("A1").value = "") then     sheets(sht).move af

Re: $$Excel-Macros$$ PROTECT EACH SHEET WITH MSG BOX.

2013-05-16 Thread Paul Schreiner
You are currently testing your "response" variable for vbYes and vbNo If you simply add: Else   Exit for then, whenever neither the Yes button, or the No button is pressed (like when you hit "Escape" or "cancel" the window) t

Re: $$Excel-Macros$$ Pivot data to different worksheets

2013-05-14 Thread Paul Schreiner
ataSht).Cells(R, C).Value & "X" <> "X") Then _     Sheets(Sht).Cells(R - 1, "A").Value = Sheets(DataSht).Cells(R, C).Value     Next R     Next C     Application.ScreenUpdating = True     Sheets(DataSht).Select     MsgBox "Finished" End Sub  

Re: $$Excel-Macros$$ Pivot data to different worksheets

2013-05-14 Thread Paul Schreiner
I take it that your "Column Labels" in row 2 are to be the sheet names? Then you want to copy the data in each column to that sheet?   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,

Re: $$Excel-Macros$$ split address one bye one based on "," comma

2013-05-13 Thread Paul Schreiner
need help writing the macro?   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 W

Re: $$Excel-Macros$$ split address one bye one based on "," comma

2013-05-13 Thread Paul Schreiner
Are you wanting to do it with a macro? or simply within Excel? If you want to do it one time, with Excel, it's simply a matter of selecting the column, and use Data->Text to Columns   Paul - “Do all the good you can, By all the means you can, In

Re: $$Excel-Macros$$ copy the active worksheet and paste it to another workbook in a given path.

2013-04-30 Thread Paul Schreiner
Are you familiar with macros? This is pretty straight-forward. Try recording a macro in which you perform the steps as you've described. Then, edit the macro and replace the specific names with the cell values.   Paul - “Do all the good you can, B

Re: $$Excel-Macros$$ Filter based on coulmns

2013-04-27 Thread Paul Schreiner
So... you're saying copy/paste traspose isn't an option and you want a macro. do you know anything about macros? or are you wanting someone to write one for you? either way, if you want help with a macro, you'll have to provide WAY more information than you&#

Re: $$Excel-Macros$$ Create Sheets by given name.........

2013-04-26 Thread Paul Schreiner
t as "ActiveSheet". Then, you need to set up a loop to cycle through your list of names. There's a variety of ways of doing this, I ended up with: Dim nrows, R, sht sht = ActiveSheet.Name nrows = Application.WorksheetFunction.CountA(Range("A1:A6500")) Fo

Re: $$Excel-Macros$$ Macro getting stopped

2013-04-26 Thread Paul Schreiner
without suffering significantly (depending on the complexity of the macro running). Depending on your version of Windows and Excel, the technique for opening multiple instances differs. You can Google "Multiple Excel Instances" and look for your version.   Paul

Re: $$Excel-Macros$$ Filter based on coulmns

2013-04-26 Thread Paul Schreiner
What you SEEM to be asking is if you can hide columns based on the value of cells in a ROW. Excel has no built-in functionality to do that. Your options are: Copy and paste/transpose the data into another sheet and apply AutoFilter. Or write a macro that hides columns based on your criteria.  

<    3   4   5   6   7   8   9   10   11   12   >