LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA - No Duplicate Sheet

Simple problem with (hopefully) a simple answer

I have a macro that creates a new sheet and names it the contents of
strTitle. However, it would be easy for someone to fire off the macro
- not realizing there is a sheet of that name already in existance.
Thusly, adding a few lines of code to check for the sheet and stop the
macro from crashing would be wonderful. However, it's a bit out of my
experience and I would appreciate any help. I couldn't find anything
that I could get to work from archives.

Jordan


---
Message posted from http://www.ExcelForum.com/

 
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
Duplicate sheet, autonumber sheet, record data on another sheet des-sa[_2_] Excel Worksheet Functions 0 May 8th 08 06:56 PM
sheet duplicate sagar Excel Worksheet Functions 1 July 31st 07 03:02 AM
DUPLICATE 1 sheet into 100 sheet workbook Steve Excel Discussion (Misc queries) 3 October 4th 06 09:47 PM
HOW DO I DUPLICATE SHEET TO BOOK??? Steve Excel Worksheet Functions 2 October 2nd 06 04:05 PM
Why does data sometimes duplicate itself on an Exel sheet when I S jlfrank3 Excel Discussion (Misc queries) 0 April 27th 05 11:39 PM


All times are GMT +1. The time now is 03:07 AM.

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"