Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Excel Macro; move row
Name: PelePro Date: April 1, 2007 at 14:55:10 Pacific OS: OS X 10.4.8 CPU/Ram: Dual 2GHz PPC G5 / 2gb Product: Apple
Comment:
I am trying to make a macro that will move an entire row to another sheet based on a value of 1-4 in column G. For instance if colG=1 move to sheet 2 ... How would I go about this/
Name: DerbyDad03 Date: April 20, 2007 at 07:14:52 Pacific
Reply:
Sorry for the delayed reply, but...
If you avoid "selecting" items in VBA before performing an action on them, your code will typically run faster and be easier to follow. For example, the code above can be condensed down to a single line.
Sub MvColumn1()
If Sheets("Sheet1").Range("E1") = 1 Then Columns("E:E").Cut Destination:=Sheets("Sheet2").Range("E1")
Summary: I am new to Excel macro and I need your help. I have the following input data in Sheet 1: a1 b1 (a1 in cell A1, b1 in B2) a2 b2 (a2 in cell A2, b2 in cell B2) I need a macro to create the following ...
Summary: Hi all, I'm trying to learn more about macros, so any help is appreciated. I frequently compile a multi-column list of things, then sequentially number the rows after I've made any additions. I've go...
Summary: Dear All, I would like to copy and paste my file(Any type) from one drive to another. For example: I have 10 files in c:\eliaz\Deal1 to d:\deals done using macro. Files may be of any type such as pdf,...