|
hi,
have you tried reading the help files about macros on the forum itself you might get what you are in search of in it |
Hi,
I've tried something in this style, Sub () Worksheets("Sheet1").Activate Range("A1:D10").Select If active.cell.selected Then Selection.Copy Sheets("Sheet1").Select Range("A1:M1").Select ActiveSheet.Paste Else End If End Sub I manage to get active cell to do simple tasks, but I can't find or manage to get it to copy from the same row. E.g. If I clik on cell B5 the program is supposed to copy data from F5:H5 and paste it into A1:C1 on the same sheet and so on...I've tried using the row command without success. I couldn't find what I was looking for on the forum..sorry - I'm open to suggestions Regards, Nowiser |
Résultats pour Excel active cell macro
Résultats pour Excel active cell macro
Résultats pour Excel active cell macro
Résultats pour Excel active cell macro