Active Sheet

Active Sheet

Anonymous
Not applicable
538 Views
2 Replies
Message 1 of 3

Active Sheet

Anonymous
Not applicable

Hi

 

I want to be able to assign (prompt) a name to a new active sheet  (shown below) could someone help

 

active sheet

 

Thanks

0 Likes
Accepted solutions (1)
539 Views
2 Replies
Replies (2)
Message 2 of 3

jletcher
Advisor
Advisor
Accepted solution

Here is a start working on when new sheet is create it will prompt for name...

 

Dim oDoc As DrawingDocument
 oDoc = ThisApplication.ActiveDocument
 
Dim strSheetName As String
 strSheetName = Left$(oDoc.ActiveSheet.Name,InStrRev(oDoc.ActiveSheet.Name, ":") - 1)
 
 

 oDoc.ActiveSheet.Name = InputBox("ENTER SHEET NAME", "NAME THAT SHEET", "GIVE ME A NAME PLEASE")

 

Message 3 of 3

Anonymous
Not applicable
Thank you Regards Dominic Tunnell OIEAust Mechanical Draftsman [Description: cid:image003.png@01CC93F6.3BB88C90] JOEST Australia Pty Ltd Ph: 92598316 E-mail: dominic.tunnell@joest.com.au Web: www.joest.com.au
0 Likes