Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default Rename 'VBAProject"

How to rename the current VBA-project by VBA-code?

You know, the name 'VBAProject', which each VBA-project is born with...


CE

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 114
Default Rename 'VBAProject"

In the VB Editor, select the project in the tree then change the
(Name) entry in the Properties pane (press F4 if not showing)

Tim


On Feb 9, 9:03*am, "Charlotte E." wrote:
How to rename the current VBA-project by VBA-code?

You know, the name 'VBAProject', which each VBA-project is born with...

CE


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default Rename 'VBAProject"

Thanks for the answer, which I already knew, but I was asking how to to
it by VBA-code?


CE


Den 09.02.2012 19:53, Tim Williams skrev:
In the VB Editor, select the project in the tree then change the
(Name) entry in the Properties pane (press F4 if not showing)

Tim


On Feb 9, 9:03 am, "Charlotte wrote:
How to rename the current VBA-project by VBA-code?

You know, the name 'VBAProject', which each VBA-project is born with...

CE


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 114
Default Rename 'VBAProject"

Sorry - I misread your question

Tim

On Feb 10, 3:35*am, "Charlotte E." wrote:
Thanks for the answer, which I already knew, but I was asking how to to
it by VBA-code?

CE

Den 09.02.2012 19:53, Tim Williams skrev:







In the VB Editor, select the project in the tree then change the
(Name) entry in the Properties pane (press F4 if not showing)


Tim


On Feb 9, 9:03 am, "Charlotte *wrote:
How to rename the current VBA-project by VBA-code?


You know, the name 'VBAProject', which each VBA-project is born with....


CE


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 114
Default Rename 'VBAProject"


ThisWorkbook.VBProject.Name = "projTest"

See: http://www.cpearson.com/Excel/vbe.aspx

Tim

On Feb 9, 9:03*am, "Charlotte E." wrote:
How to rename the current VBA-project by VBA-code?

You know, the name 'VBAProject', which each VBA-project is born with...

CE




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default Rename 'VBAProject"

Thanks :-)


CE



Den 10.02.2012 18:07, Tim Williams skrev:

ThisWorkbook.VBProject.Name = "projTest"

See: http://www.cpearson.com/Excel/vbe.aspx

Tim

On Feb 9, 9:03 am, "Charlotte wrote:
How to rename the current VBA-project by VBA-code?

You know, the name 'VBAProject', which each VBA-project is born with...

CE


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
Listen to "rename sheet" event in excel Ben[_12_] Excel Programming 2 July 18th 07 03:14 PM
How to listen to "rename sheet" Ben[_12_] Excel Programming 2 July 17th 07 07:09 PM
Excell error "Can't find Project or Library" Project VBAProject Lost in Excel Excel Worksheet Functions 0 April 12th 07 04:42 PM
How to rename worksheet like "Jan. 2006" Bob Phillips Excel Programming 0 December 12th 06 11:14 PM
How to use macro to rename worksheet with date +"text" Sherri[_3_] Excel Programming 4 April 28th 04 12:05 AM


All times are GMT +1. The time now is 06:43 PM.

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

About Us

"It's about Microsoft Excel"