Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Licensed User - Changes on its own!

A number of users that are currently using a spreadsheet I have developed
have found that when launching ANY Microsoft Office product, the licensed
user has now changed to my name.

This also means that when a user is in the workbook on a shared area/drive,
and a second user attempts to open the workbook - the box stating that the
'file is in use by' has my name in and not the users.


The spreadsheet uses VBA to create a tool bar on the fly, deleting it when
the workbook closes. None of my code directly writes to the registry.

Are there any known issues that could cause this problem?


Thanks in advance for any help you can provide me with.


Darren.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Licensed User - Changes on its own!

Do you use application.Username in the code?

I suspect you are trying to us it as a comparison and it is being
interpreted as an assignment.

--
Regards,
Tom Ogilvy


"Darren Elsom" wrote in message
...
A number of users that are currently using a spreadsheet I have developed
have found that when launching ANY Microsoft Office product, the licensed
user has now changed to my name.

This also means that when a user is in the workbook on a shared

area/drive,
and a second user attempts to open the workbook - the box stating that

the
'file is in use by' has my name in and not the users.


The spreadsheet uses VBA to create a tool bar on the fly, deleting it when
the workbook closes. None of my code directly writes to the registry.

Are there any known issues that could cause this problem?


Thanks in advance for any help you can provide me with.


Darren.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Licensed User - Changes on its own!


No, I dont believe so.

I do however, use the code to open a new workbook and transfer deails from
the original to the new via copy/paste.

Regards,


Darren.


"Tom Ogilvy" wrote in message
...
Do you use application.Username in the code?

I suspect you are trying to us it as a comparison and it is being
interpreted as an assignment.

--
Regards,
Tom Ogilvy


"Darren Elsom" wrote in message
...
A number of users that are currently using a spreadsheet I have developed
have found that when launching ANY Microsoft Office product, the licensed
user has now changed to my name.

This also means that when a user is in the workbook on a shared

area/drive,
and a second user attempts to open the workbook - the box stating that

the
'file is in use by' has my name in and not the users.


The spreadsheet uses VBA to create a tool bar on the fly, deleting it
when
the workbook closes. None of my code directly writes to the registry.

Are there any known issues that could cause this problem?


Thanks in advance for any help you can provide me with.


Darren.






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Licensed User - Changes on its own!

That was a guess anyway. I would suspect it uses the login name for that
message anyway. I don't see how code would affect it unless you were doing
something exotic.

--
Regards,
Tom Ogilvy

"Darren Elsom" wrote in message
...

No, I dont believe so.

I do however, use the code to open a new workbook and transfer deails from
the original to the new via copy/paste.

Regards,


Darren.


"Tom Ogilvy" wrote in message
...
Do you use application.Username in the code?

I suspect you are trying to us it as a comparison and it is being
interpreted as an assignment.

--
Regards,
Tom Ogilvy


"Darren Elsom" wrote in message
...
A number of users that are currently using a spreadsheet I have

developed
have found that when launching ANY Microsoft Office product, the

licensed
user has now changed to my name.

This also means that when a user is in the workbook on a shared

area/drive,
and a second user attempts to open the workbook - the box stating that

the
'file is in use by' has my name in and not the users.


The spreadsheet uses VBA to create a tool bar on the fly, deleting it
when
the workbook closes. None of my code directly writes to the registry.

Are there any known issues that could cause this problem?


Thanks in advance for any help you can provide me with.


Darren.








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Licensed User - Changes on its own!

Tom,

Having checked the code again, I have noticed that when the new workbook is
open, I have specified that the user name is my own name.

I assume this has caused the problem and that my name must be entered into
the registry for microsoft applications.

Thanks, for your help.





"Darren Elsom" wrote in message
...

No, I dont believe so.

I do however, use the code to open a new workbook and transfer deails from
the original to the new via copy/paste.

Regards,


Darren.


"Tom Ogilvy" wrote in message
...
Do you use application.Username in the code?

I suspect you are trying to us it as a comparison and it is being
interpreted as an assignment.

--
Regards,
Tom Ogilvy


"Darren Elsom" wrote in message
...
A number of users that are currently using a spreadsheet I have
developed
have found that when launching ANY Microsoft Office product, the
licensed
user has now changed to my name.

This also means that when a user is in the workbook on a shared

area/drive,
and a second user attempts to open the workbook - the box stating that

the
'file is in use by' has my name in and not the users.


The spreadsheet uses VBA to create a tool bar on the fly, deleting it
when
the workbook closes. None of my code directly writes to the registry.

Are there any known issues that could cause this problem?


Thanks in advance for any help you can provide me with.


Darren.








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
How do I report to User A vs User B from shared data table? RogClark Excel Discussion (Misc queries) 0 April 30th 09 07:54 PM
Changing the "Licensed to" name in microsoft office Russers Excel Discussion (Misc queries) 2 February 19th 06 09:19 PM
How to: User Form to assign a user defined range to a macro variab TrevTrav Excel Programming 1 March 22nd 05 07:57 PM
User Defined Functions - Help Text - Make it Easy for the User Andibevan[_2_] Excel Programming 4 March 17th 05 09:51 AM
How to: Make user click End User License Agreement acceptance jasonsweeney[_21_] Excel Programming 7 January 30th 04 01:41 AM


All times are GMT +1. The time now is 02:46 AM.

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"