Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default take user clik as an input

Hi
I'd like to run a macro in a new sheet is inserted and the user is asked to
name a new sheet, how can it be done?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default take user clik as an input

Sub askfornameofsheettoinsert()
myname = InputBox("Enter name of new sheet to insert")
Sheets.Add
ActiveSheet.Name = myname
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Yossi evenzur" wrote in message
...
Hi
I'd like to run a macro in a new sheet is inserted and the user is asked
to
name a new sheet, how can it be done?


Reply
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
EXCEL 2007 Right clik options not working candygal Excel Worksheet Functions 6 May 23rd 08 07:40 PM
Prompt user for input and utilize that input ninner Excel Worksheet Functions 2 March 28th 07 09:44 PM
Have user input converted to uppercase in same cell as input? Shannonn New Users to Excel 1 June 20th 06 03:19 AM
excel will not open a file with a double clik on a icon sam Excel Discussion (Misc queries) 1 June 15th 06 03:34 PM
CODE to select range based on User Input or Value of Input Field Sandi Gauthier Excel Programming 4 December 8th 03 03:22 PM


All times are GMT +1. The time now is 07:23 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"