LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default After adding a new sheet, wanting to compare cell values

I tried your code but it didn't give me the output I wanted. I
actually figured it out. Thanks for the attempt.

Code:

Private Sub AddSheet_Click()
ActiveSheet.Copy After:=Sheets(Sheets.count)
ActiveSheet.Name = Format(Date, "mm-dd")

ActiveSheet.Previous.Range("c1") = Format(Date - 1)

End Sub

Thanks again,
Emmert

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare values and place corresponding value in another sheet Whitney Excel Discussion (Misc queries) 3 April 14th 09 04:45 PM
Compare values on sheet 1 to values on sheet2 Colin Excel Worksheet Functions 2 August 2nd 06 07:19 PM
Wanting to link inputed data to a paragraph on a different sheet caliskier Excel Discussion (Misc queries) 5 January 18th 06 07:34 PM
How do i compare values from two sheet and copy & paste if values match? rozb Excel Programming 0 March 5th 04 12:06 AM


All times are GMT +1. The time now is 02:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"