Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Modify Name, Title, Author, etc. of an Add-In

I can not modify the Property values of my AddIn. It is necessary to find the
right add-in (For Each ad In Application.AddIns...)

For some reason, Excel has added one, two or three times a r-like symbol at
the end of the Name, Title, Author, Subject values of my AddIns in the
Watches window. So when comparing the addins (If ad.Title = DATEADDIN Then
....) the addin is not found.

These symbols are not shown on other places, like the Immediates window or
in the Workbook properties, when viewed.

I tried to modify it by making the Add-in back to a Workbook or by running
the following code:
ThisWorkbook.BuiltinDocumentProperties.Item("Title ").Value = "Date XP Add-in
v2.08"

It seems to have an effect on the Immediates window:
? ThisWorkbook.BuiltinDocumentProperties.Item("Title ") .Value
Date XP Add-in v2.08

But the Watches window still shows the original value.

Can someone help?

--
Best regards,
Thierry H.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Modify Name, Title, Author, etc. of an Add-In

Thierry,

the symbols are probably representations for linefeeds or carriage
returns. If at the end they are useless so you can delete them.

I've found that editing of the properties of addins
is easiest done in windows explorer.

close the files if open in excel.

then in explorer rightclick, select properties and
edit to your heart's content.
you can have boxes for multiple files open at once.

(be aware that the box to display the comments has different width
in various excel versions, so after editing, restart excel
and look at how they come out in the "comments box" at the bottom
of the addins list.

PS: (and this may be the best tip from this post)
why use watches?..
use the locals window to see your variables during debugging.

hth

--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Thierry H. wrote :

I can not modify the Property values of my AddIn. It is necessary to
find the right add-in (For Each ad In Application.AddIns...)

For some reason, Excel has added one, two or three times a r-like
symbol at the end of the Name, Title, Author, Subject values of my
AddIns in the Watches window. So when comparing the addins (If
ad.Title = DATEADDIN Then ...) the addin is not found.

These symbols are not shown on other places, like the Immediates
window or in the Workbook properties, when viewed.

I tried to modify it by making the Add-in back to a Workbook or by
running the following code:
ThisWorkbook.BuiltinDocumentProperties.Item("Title ").Value = "Date XP
Add-in v2.08"

It seems to have an effect on the Immediates window:
? ThisWorkbook.BuiltinDocumentProperties.Item("Title ") .Value
Date XP Add-in v2.08

But the Watches window still shows the original value.

Can someone help?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Modify Name, Title, Author, etc. of an Add-In

Dear keepITcool,

Thank you for responding.

Apart from Comments there are no line feeds or carriage returns in these
fields.
In the properties by means of Windows Explorer those symbols are not showing
either. Forcing some DEL keystrokes does not help the situation.

Apparently only the watch window, or capturing the addin's property value
into a variable shows what the problem is.

The only way I found thus far is:
For Each ad In Application.AddIns
adTitle = Left(ad.Title, Len(DATEADDIN))
If adTitle = DATEADDIN Then...

It's not neat, but it works...

Thanks anyway,

"keepITcool" wrote:

Thierry,

the symbols are probably representations for linefeeds or carriage
returns. If at the end they are useless so you can delete them.

I've found that editing of the properties of addins
is easiest done in windows explorer.

close the files if open in excel.

then in explorer rightclick, select properties and
edit to your heart's content.
you can have boxes for multiple files open at once.

(be aware that the box to display the comments has different width
in various excel versions, so after editing, restart excel
and look at how they come out in the "comments box" at the bottom
of the addins list.

PS: (and this may be the best tip from this post)
why use watches?..
use the locals window to see your variables during debugging.

hth

--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Thierry H. wrote :

I can not modify the Property values of my AddIn. It is necessary to
find the right add-in (For Each ad In Application.AddIns...)

For some reason, Excel has added one, two or three times a r-like
symbol at the end of the Name, Title, Author, Subject values of my
AddIns in the Watches window. So when comparing the addins (If
ad.Title = DATEADDIN Then ...) the addin is not found.

These symbols are not shown on other places, like the Immediates
window or in the Workbook properties, when viewed.

I tried to modify it by making the Add-in back to a Workbook or by
running the following code:
ThisWorkbook.BuiltinDocumentProperties.Item("Title ").Value = "Date XP
Add-in v2.08"

It seems to have an effect on the Immediates window:
? ThisWorkbook.BuiltinDocumentProperties.Item("Title ") .Value
Date XP Add-in v2.08

But the Watches window still shows the original value.

Can someone help?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Modify Name, Title, Author, etc. of an Add-In

I used the Locals window as you suggested:
It has indeed the advantage of not having to define a watch every time.
Thank you keepITcool for the tip.

I noticed that the Locals window also shows the extra symbol at the end.
Using Asc() I could find out it's CHR(0) that is added at the end of the
following:
- once at the end of .Title
- twice behind .Author
- three times behind .Subject

Other properties seem not to be affected.
It doesn't show on Microsoft's add-ins.
Only on some I made myself, with different results.

Does someone have an idea how I can get rid of it?

"keepITcool" wrote:

Thierry,

the symbols are probably representations for linefeeds or carriage
returns. If at the end they are useless so you can delete them.

I've found that editing of the properties of addins
is easiest done in windows explorer.

close the files if open in excel.

then in explorer rightclick, select properties and
edit to your heart's content.
you can have boxes for multiple files open at once.

(be aware that the box to display the comments has different width
in various excel versions, so after editing, restart excel
and look at how they come out in the "comments box" at the bottom
of the addins list.

PS: (and this may be the best tip from this post)
why use watches?..
use the locals window to see your variables during debugging.

hth

--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Thierry H. wrote :

I can not modify the Property values of my AddIn. It is necessary to
find the right add-in (For Each ad In Application.AddIns...)

For some reason, Excel has added one, two or three times a r-like
symbol at the end of the Name, Title, Author, Subject values of my
AddIns in the Watches window. So when comparing the addins (If
ad.Title = DATEADDIN Then ...) the addin is not found.

These symbols are not shown on other places, like the Immediates
window or in the Workbook properties, when viewed.

I tried to modify it by making the Add-in back to a Workbook or by
running the following code:
ThisWorkbook.BuiltinDocumentProperties.Item("Title ").Value = "Date XP
Add-in v2.08"

It seems to have an effect on the Immediates window:
? ThisWorkbook.BuiltinDocumentProperties.Item("Title ") .Value
Date XP Add-in v2.08

But the Watches window still shows the original value.

Can someone help?


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
want to see excel author name tab PaTina Excel Discussion (Misc queries) 1 March 2nd 10 08:00 PM
I can't modify field Author in excel 2007 leonardo Excel Discussion (Misc queries) 0 February 10th 10 02:21 PM
Named range=Column title,comumn title in cellB6 use B6in equation Graham Excel Discussion (Misc queries) 2 July 21st 06 10:03 AM
Show full path title in title bar? Nor New Users to Excel 4 November 4th 05 06:00 PM
Pasting Objects into Chart title and Axis title Sam Charts and Charting in Excel 1 June 6th 05 08:50 PM


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