Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I am trying to create a add in that would 1. Create a new sheet 2. based on some logic will copy data from this shhet to the new one. a. When I ran the following piece of code it does not add a ne worksheet. Filename = ActiveCell.Worksheet.Name Sheets.Add Type:="WorkSheet" ActiveSheet.Name = "Sheet 2" Worksheets(Filename).Activate b. When the following piece of code is hit (line 3) it just stop processing further. Value = ActiveSheet.Cells(C.Row, 3).Value Worksheets("Sheet2").Activate Worksheets("Sheet2").Cells(Fill_Count, 1).Value = Value Any help on this Thanks & Regards Rajagopal -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Colon at the end of excel file name(ex: problem.xls:1, problem.xls | New Users to Excel | |||
Problem viewing Excel 2003 Pivot Chart fields in Excel 2007 | Charts and Charting in Excel | |||
Weird problem with Excel 2000...Worksheets disappearing in a shared Excel file | Excel Discussion (Misc queries) | |||
Started out as an Access problem. Now an Excel problem | Excel Discussion (Misc queries) | |||
EXCEL FORMAT PROBLEM WHEN SENDING EXCEL SHEET AS MESSAGE BODY IN . | Excel Discussion (Misc queries) |