$$Excel-Macros$$ Re: Help need to write macro

2009-06-01 Thread Dilip Pandey
Hi Ramesh Try below code. File containing this code is also attached with this email reply. Sub Ramesh() Application.ScreenUpdating = False Application.DisplayAlerts = False Dim i, k As Integer Cells(1, 1).Select For k = 1 To 256 ActiveCell.EntireColumn.Select i = Application.WorksheetFunction.

$$Excel-Macros$$ Re: Help need to write macro

2009-05-30 Thread Ramesh Katta
Hi Dev Thank you very much. Regards Ramesh On Fri, May 29, 2009 at 11:35 AM, Dev wrote: > > > Ramesh - There are multiple ways to accomplish this. But since your > request is to just sum the numbers for the given column, here is the > snippet which is not production ready. > > Dim oRange as R

$$Excel-Macros$$ Re: Help need to write macro

2009-05-29 Thread Dev
Ramesh - There are multiple ways to accomplish this. But since your request is to just sum the numbers for the given column, here is the snippet which is not production ready. Dim oRange as Range Dim iTotal as Double iTotal = 0 For Each oRange In Application.Range ("A1:A10") iTotal = iTotal

$$Excel-Macros$$ Re: Help need to write macro

2009-05-29 Thread Norman May
The attached workbook will display the sum of column A in a message box whenever there is a change in column A. Norman On Fri, May 29, 2009 at 10:47 AM, Ramesh Katta wrote: > > Hi Gurus, > > I am Ramesh, new to vba programs. I need a macro to calculate sum for > range of column. The should be