RE: $$Excel-Macros$$ Macro to insert an empty row whenever there is a change in value from the cell above

2014-03-12 Thread Ravinder
Pfa, if help From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Aaron Hoffman Sent: Wednesday, March 12, 2014 11:54 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Macro to insert an empty row whenever there is a change in value from the

Re: $$Excel-Macros$$ Macro to insert an empty row whenever there is a change in value from the cell above

2014-03-12 Thread Aaron Hoffman
Hey that works great! Thank you very much! On Wednesday, March 12, 2014 12:51:24 AM UTC-6, ravinder negi wrote: Pfa, if help *From:* excel-...@googlegroups.com javascript: [mailto: excel-...@googlegroups.com javascript:] *On Behalf Of *Aaron Hoffman *Sent:* Wednesday, March 12, 2014

Re: $$Excel-Macros$$ Macro to insert an empty row whenever there is a change in value from the cell above

2014-03-12 Thread Aaron Hoffman
To ask you another question, how would you edit this code to select a specific range on a specific sheet. As you can see I added Sheets(Sheet2).Select to select sheet2, not sure if this is the best way, but also I would like to run have the macro run from cell b4:b500, however when I try to

RE: $$Excel-Macros$$ Macro to insert an empty row whenever there is a change in value from the cell above

2014-03-12 Thread Ravinder
Pfa.. now it will ask u to select range first…… From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Aaron Hoffman Sent: Wednesday, March 12, 2014 1:14 PM To: excel-macros@googlegroups.com Cc: Soum Subject: Re: $$Excel-Macros$$ Macro to insert an empty row

Re: $$Excel-Macros$$ Macro to insert an empty row whenever there is a change in value from the cell above

2014-03-12 Thread Aaron Hoffman
Is there a way to set it to a constant range? I would like the button to be on Sheet1 but inserting the row on Sheet2 (b5:b500) when ever the data changes from row to row, but I just can't figure how to manipulate the code, to do that. This works great on Sheet1 Column A but I can't get it