Re: $$Excel-Macros$$ Re: Help Required!

2010-10-30 Thread roberto mensa
the sub test is just one example of how to use the function into a routine. Sub test() Dim s As String s = "AGREEMENT. THE ADOPTION THE ADULT OR MARRIED MINOR " s = ProperCase_r(s) Debug.Print s End Sub r -- -- Some

$$Excel-Macros$$ guide line in excell

2010-10-30 Thread sohail najam
Hi, I am Najam , I need ur guidence for in excel sheet suppose i have an excell file with 30 sheets for thirty branches with the same variables . now ineed to add suppose the data of all cell A1 for each sheet in a new sheet called total inA1 cell. one sol is i start adding a1 cell for all

Re: $$Excel-Macros$$ Macro to Go From One Cell to Another

2010-10-30 Thread sohail najam
Hi, I am Najam , I need ur guidence for in excel sheet suppose i have an excell file with 30 sheets for thirty branches with the same variables . now ineed to add suppose the data of all cell A1 for each sheet in a new sheet called total inA1 cell. one sol is i start adding a1 cell for all

Re: $$Excel-Macros$$ finding the last row

2010-10-30 Thread Maries
Hi Lakshitha, *Use the following code:* ** Sub FindLastRow() Dim LastRow As Long If WorksheetFunction.CountA(Cells) > 0 Then 'Search for any entry, by searching backwards by Rows. LastRow = Cells.Find(What:="*", After:=[A1], SearchOrder:=xlByRows, SearchDirection:=xlPrevious).R

Re: $$Excel-Macros$$ Novice Needs Help with Basic Excel Print Macro/VBA for Church Project

2010-10-30 Thread MT
Thank You so much!!! On Oct 30, 8:11 am, "Daniel" wrote: > Hello. > Try : > Sub ConditionalPrint() > Sheets("Offering").PrintOut > If ['General Check Continuation'!I136] > 0 Then >     Sheets("General Check Continuation").PrintOut > End If > End Sub > Regards. > Daniel > > -Message d'origine-

Re: $$Excel-Macros$$ Novice Needs Help with Basic Excel Print Macro/VBA for Church Project

2010-10-30 Thread MT
Thank You Daniel! On Oct 30, 8:11 am, "Daniel" wrote: > Hello. > Try : > Sub ConditionalPrint() > Sheets("Offering").PrintOut > If ['General Check Continuation'!I136] > 0 Then >     Sheets("General Check Continuation").PrintOut > End If > End Sub > Regards. > Daniel > > -Message d'origine---

$$Excel-Macros$$ Macro to Go From One Cell to Another

2010-10-30 Thread MT
I have a worksheet called "Offering" and was wondering how do I make a Macro to go from say cell C35 to E26 on that worksheet after I exit C35 whether C35 was changed or not. If C35 absolutely has to be changed to make it work, that would be OK. In Access you can sort the "Tab Order" and pick which

Re: $$Excel-Macros$$ manage lengthy database

2010-10-30 Thread ashish koul
Sub Macro1() If ActiveSheet.AutoFilterMode = True Then ActiveSheet.AutoFilterMode = False End If ActiveSheet.Range("$A$1:$B$27").AutoFilter Field:=2, Criteria1:= _ ">=" & CDate(Range("g4").Value), Operator:=xlAnd, Criteria2:="<=" & CDate(Range("g5").Value) End Sub On Sat, Oct 30,

RE: $$Excel-Macros$$ Novice Needs Help with Basic Excel Print Macro/VBA for Church Project

2010-10-30 Thread Daniel
Hello. Try : Sub ConditionalPrint() Sheets("Offering").PrintOut If ['General Check Continuation'!I136] > 0 Then Sheets("General Check Continuation").PrintOut End If End Sub Regards. Daniel -Message d'origine- De : excel-macros@googlegroups.com [mailto:excel-mac...@googlegroups.com] De

Re: $$Excel-Macros$$ manage lengthy database

2010-10-30 Thread Rajesh K R
Hi Experts thanks for ur promt reply.is it possible to give the from & to dates for filtering in specified cells and filter it by a macro eg: Sub applyfilter() > If ActiveSheet.AutoFilterMode = True Then > ActiveSheet.AutoFilterMode = False > End If > ActiveSheet.Range("$A$1:$B$27").AutoFilte

Re: $$Excel-Macros$$ Parsing a range to an array

2010-10-30 Thread frank
Hello, You can also loop through the various selected areas and process the cells as needed. dim rngCell as Range For Each rngCell In Selection.Areas varXRange() = rngCell Next On Oct 28, 4:30 am, Dave Bonallack wrote: > Hi, > You can test for a non-contiguous selection with the followi

$$Excel-Macros$$ finding the last row

2010-10-30 Thread Lakshitha
I have a excel sheet where, data is distributed. I want my macro to find the last non empty row in the sheet. what is the best way to find it. In several places i saw that , "go to special --> last cell" is not that reliable. -- ---

$$Excel-Macros$$ VBA Controls are missing for some users

2010-10-30 Thread frank
Hello, I added some controls to a worksheet and they work fine on some computers, but on other computers the controls are not visible. The controls are 2 Calendar 11 controls I inserted using the Insert - Object menu. There is also a combobox, a command button, and two checkboxes that were added

Re: $$Excel-Macros$$ Re: Help Required!

2010-10-30 Thread amrahs k
Hi, I meant to say every time I need to change the "S" value as Input which is taking more time. I am unable to copy the result since it is showed via message box. I want to copy the result and updated in documents. It would be helpful if you could change the code as per the need.(Macro have to

Re: $$Excel-Macros$$ Fwd: Practice

2010-10-30 Thread neil johnson
Hi Robert, Thanks On Wed, Oct 27, 2010 at 2:22 AM, roberto mensa wrote: > try: > > Private Sub CommandButton1_Click() > Dim item, rng As Excel.Range > For item = 0 To ListBox1.ListCount - 1 > If Me.ListBox1.Selected(item) = True Then > Set rng = Sheet2.Range("A" & Rows.Count). _ >

Re: $$Excel-Macros$$ Fwd: Practice

2010-10-30 Thread neil johnson
Hi Dave Thanks a lot for giving solution . On Wed, Oct 27, 2010 at 2:31 AM, Sergio Abadesso < groups.abade...@googlemail.com> wrote: > Hi Dave, > > you have to consider that the property object.List(row, column) has two > arguments. The first argument is to pass the row number and the second is

$$Excel-Macros$$ Novice Needs Help with Basic Excel Print Macro/VBA for Church Project

2010-10-30 Thread MT
Hello. I have (2) worksheets in my Excel Workbook; "Offering" and "General Check Continuation". Could someone please help me with the code to be able to print the work sheet "Offering" and also worksheet "General Check Continuation" only if cell I36 on "General Check Continuation" is greater than 0

RE: $$Excel-Macros$$ Screen updating

2010-10-30 Thread Daniel
Use : At the beginning of the macro : Dim inCalculationMode As Integer inCalculationMode = Application.Calculation Application.Calculation = xlCalculationManual At the end of the macro : Application.Calculation = inCalculationMode Regards. Daniel De : excel-macros@googlegrou