Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Sub Macro() If Sheets("Sheet1").Range("A1").Value = "TOTO" Then Sheets.Add With ActiveSheet Name = "TOTO" End With Sheets("Sheet1").Select End If If Sheets("Sheet1").Range("A1").Value = "TITI" Then Sheets("Sheet1").Select Sheets("Sheet1").Copy Befo=Sheets(2) End If End Sub -- Bearacade ------------------------------------------------------------------------ Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016 View this thread: http://www.excelforum.com/showthread...hreadid=549682 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to create new sheet | Excel Discussion (Misc queries) | |||
Duplicate sheet, autonumber sheet, record data on another sheet | Excel Worksheet Functions | |||
Macro - to copy duplicate rows to another sheet | Excel Worksheet Functions | |||
How to create a Macro to Copy Information in one sheet to another sheet. | Excel Programming | |||
Do you know how to create a new sheet in a file by macro? | Excel Programming |