$$Excel-Macros$$ Remove empty cells without deleting row

2012-03-08 Thread Brian
In column a from row 4 to row 52 I have a list of numbers. however some cells are empty. I need to remove the empty cells so that i have a list of numbers from row 4 downwards with no empty cells inbetween. I cannot delete rows as I have other data on the worksheet. I need to do this in VBA.

Re: $$Excel-Macros$$ Need VBA for repeating copy and paste special

2012-03-08 Thread Kris
> > Hi > > Try this Sub kTest() Dim wksFrom As Worksheet Dim wksTo As Worksheet Dim i As Long Dim eColAs Long Dim sColAs Long Dim DestAs Range Dim RowsToCopy As Long Set wksFrom = Worksheets("CMFX First 30

$$Excel-Macros$$

2012-03-08 Thread Rajasekhar Praharaju
hi experts, Need your expert advise. please provide a vba code which copiesText frame box copied from excel and then pastes it to ppt slide in bottom. -- -- Thanks & Regards, Rajasekhar.P -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Po

Re: $$Excel-Macros$$ ORDERS SHEET 2012.xlsm

2012-03-08 Thread Seraj Alam
Hi, See attached...is that what u want..? Suggest... On Thu, Mar 8, 2012 at 2:05 AM, Gulam Hameed wrote: > Dear All Experts…..!! > > ** ** > > WISH U ALL EXPERTS HAPPY HOLI……!!! > > ** ** > > Can some help me out please find attach example sheet > > ** ** > > Thanks & Best Rega

Re: $$Excel-Macros$$ ORDERS SHEET 2012.xlsm

2012-03-08 Thread Seraj Alam
Hi, See attached...is that what u want..? Suggest... On Thu, Mar 8, 2012 at 2:05 AM, Gulam Hameed wrote: > Dear All Experts…..!! > > ** ** > > WISH U ALL EXPERTS HAPPY HOLI……!!! > > ** ** > > Can some help me out please find attach example sheet > > ** ** > > Thanks & Best Regard

Re: $$Excel-Macros$$ copy range

2012-03-08 Thread LearnExcel
hi guys this is the file can you please take a look On Mar 8, 9:31 pm, Selva Loganathan wrote: > -- Forwarded message -- > From: Selva Loganathan > Date: Thu, Mar 8, 2012 at 2:07 AM > Subject: copy range > To: dguille...@gmail.com > > please look at sheet 1 > > thank you for

$$Excel-Macros$$ copy range

2012-03-08 Thread Selva Loganathan
-- Forwarded message -- From: Selva Loganathan Date: Thu, Mar 8, 2012 at 2:07 AM Subject: copy range To: dguille...@gmail.com please look at sheet 1 thank you for all your help -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread tit

Re: $$Excel-Macros$$ ORDERS SHEET 2012.xlsm

2012-03-08 Thread NOORAIN ANSARI
Dear Hameed, Please explain more what is your adject requirment... -- Thanks & regards, Noorain Ansari *http://noorainansari.com/* *http://excelmacroworld.blogspot.com/* On Thu, Mar 8, 2012 at 3:35 PM, Gulam Ha

Re: $$Excel-Macros$$ VBA Help

2012-03-08 Thread dguillett1
This simple one liner leaves sub closewholeexcelapplication() application.quit end sub Don Guillett Microsoft MVP Excel SalesAid Software dguille...@gmail.com From: pavan chowdary Sent: Thursday, March 08, 2012 3:48 AM To: excel-macros Subject: $$Excel-Macros$$ VBA Help Hi, This is pavan.

Re: $$Excel-Macros$$ Need VBA for repeating copy and paste special

2012-03-08 Thread bpascal123
This is the entire vba statement: Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=True Mahesh displayed over multiple lines for clarity. Change it to a single line like: Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks

RE: $$Excel-Macros$$ Search an fill combobox

2012-03-08 Thread Asa Rossoff
Or use the AfterUpdate event. From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Sam Mathai Chacko Sent: Wednesday, March 07, 2012 11:05 PM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Search an fill combobox The ComboBox1_Change event

Re: $$Excel-Macros$$ Need VBA for repeating copy and paste special

2012-03-08 Thread Erick C
Hi Mahesh - I copied over your code, but I have a few questions. First off, the last portion "Paste:=xlValues, Transpose:=True" comes up with a compile error, is it supposed to be part of something else? Also, is your Sheet1 supposed to be the sheet that currently has the data vertically, and the

Re: $$Excel-Macros$$ VBA Help

2012-03-08 Thread Bé Trần Văn
2012/3/9 NOORAIN ANSARI > Dear pavan, > > Apart of Mahesh code, > You can use also below code to close all excel application even > Thisworkbook also > > Sub Excel_Application_Close() > Dim wb As Workbook > For Each wb In ActiveWorkbook > wb.Close Savechanges:=True > Next > Application.Quit > End

Re: $$Excel-Macros$$ Need VBA for repeating copy and paste special

2012-03-08 Thread Mahesh parab
Hi Eric Try : Sub Mtest() Dim LR As Long LC = Sheet1.Cells(1, Columns.Count).End(xlToLeft).Column LR = Cells(Rows.Count, "A").End(xlUp).Row For i = 1 To LC 'change sheet name here 'Use below line if you dont want to copy header of columns 'Sheet1.Range(Cells(2, i), Cells(LR, i)).Copy Sheet1.Range

Re: $$Excel-Macros$$ VBA Help

2012-03-08 Thread NOORAIN ANSARI
Dear pavan, Apart of Mahesh code, You can use also below code to close all excel application even Thisworkbook also Sub Excel_Application_Close() Dim wb As Workbook For Each wb In ActiveWorkbook wb.Close Savechanges:=True Next Application.Quit End Sub On Thu, Mar 8, 2012 at 3:18 PM, pavan chowd

Re: $$Excel-Macros$$ VBA Help

2012-03-08 Thread Mahesh parab
Hi Pavan Try Public Sub CloseAll() Dim WB As Workbook Application.DisplayAlerts = False For Each WB In Workbooks If Not WB.Name = ThisWorkbook.Name Then WB.Close SaveChanges:=False ' Or True if you want changes saved End If Next WB ThisWorkbook.Close SaveChanges:=False End Sub HTH Mahesh On Thu

$$Excel-Macros$$ VBA Help

2012-03-08 Thread pavan chowdary
Hi, This is pavan. Here i had a doubt. is there any vba code to close whole excel application? if it there you please let me know by reply to this mail. Thanks, Pavan. -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Pl

$$Excel-Macros$$ Need VBA for repeating copy and paste special

2012-03-08 Thread Erick C
Hi everybody - I am hoping someone may be able to help me out. I am still quite a novice with writing VBA, so I am sure there is an easy way to make what I am trying to do. I am working in Excel 2010. I have a spreadsheet with a tab that has data vertically from column A through column ZW. I am

Re: $$Excel-Macros$$ Happy Holi

2012-03-08 Thread Ram Naresh Verma
Happy holy to all On Mar 8, 2012 2:21 PM, wrote: > Dear all, > > Wish you Happy holi. > > Sandeep Chhajer. > Sent on my BlackBerry® from Vodafone > > -- > FORUM RULES (986+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, U

Re: $$Excel-Macros$$ Vlookup basics and help

2012-03-08 Thread dguillett1
I just retested and it worked fine, as did Noorains. Put this in b2 and drag down and drag across =IF(ISNA(VLOOKUP($A2,Main data!$A$2:$I$39,COLUMN()+1,0)),"",VLOOKUP($A2,Main data!$A$2:$I$39,COLUMN()+1,0)) Don Guillett Microsoft MVP Excel SalesAid Software dguille...@gmail.com From: Skanda Sen

Re: $$Excel-Macros$$ Multipal sheet vlookup-Urgent plz

2012-03-08 Thread vinod rao
Thank you. You are great!! Thanks again. On Thu, Mar 8, 2012 at 9:09 AM, NOORAIN ANSARI wrote: > Dear Vinod, > > Please use.. > > =VLOOKUP($F15,INDIRECT($K$15&"!F:I"),3,0) > > and see attached sheet.. > > -- > Thanks & regards, > Noorain Ansari > *http://noorainansari.com/* > *http://excelmacro

$$Excel-Macros$$ ORDERS SHEET 2012.xlsm

2012-03-08 Thread Gulam Hameed
Dear All Experts...!! WISH U ALL EXPERTS HAPPY HOLI..!!! Can some help me out please find attach example sheet Thanks & Best Regards Gulam Hameed -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Pl

$$Excel-Macros$$ Happy Holi

2012-03-08 Thread chhajersandeep
Dear all, Wish you Happy holi. Sandeep Chhajer. Sent on my BlackBerry® from Vodafone -- 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

RE: $$Excel-Macros$$ : How to use IF Function more than 8 times ?

2012-03-08 Thread Asa Rossoff
Hello Rushiraj, There are many ways to work around that limitation, depending on the specific calculation task. You already have several replies, but here are some other (and also similar) methods. Here are a few simple general ways: Instead of: =IF(what,then,IF(what2,then,IF(what3,..,other

RE: $$Excel-Macros$$ conditinal formatting - based on date col.....(plz help)

2012-03-08 Thread Mohammed Muneer
Mr. Sam yes I understand u, at first some of the top rows I copy the badge nos with the fill handle. The badge nos changed like : 1 105427 5-Oct-11 salnap 1 2 105428 5-Oct-11 trachisa 6 In the Sr. no 2 the badge no should be 105427 only, same like the first one. I did not check