PC Review


Reply
Thread Tools Rate Thread

2 problems to solve

 
 
furbiuzzu
Guest
Posts: n/a
 
      30th Oct 2006
Hi all,

i've 2 problems connected with the opening of an excel file that i'm
not able to solve.

I would like to:

1) have my userform1 to be automatically shown (opened) when the file
is opened from its desktop icon

2) associate with this "opening" a .wma or .mp3 file to use as
soundtrack

just 2 simple things for you, impossible for me.

thanks in advance for your (quick) help.

 
Reply With Quote
 
 
 
 
bobbo
Guest
Posts: n/a
 
      30th Oct 2006
Use the Workbook_Open event to execute some code. In the ThisWorkbook
module of your VBA project write some code like this.

Private sub Workbook_Open()
Userform1.show
end sub

For the other problem I would suggest using the shell command. Shell
allows you to execute a DOS command.



furbiuzzu wrote:
> Hi all,
>
> i've 2 problems connected with the opening of an excel file that i'm
> not able to solve.
>
> I would like to:
>
> 1) have my userform1 to be automatically shown (opened) when the file
> is opened from its desktop icon
>
> 2) associate with this "opening" a .wma or .mp3 file to use as
> soundtrack
>
> just 2 simple things for you, impossible for me.
>
> thanks in advance for your (quick) help.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
solve c# problems starter Microsoft C# .NET 12 29th Jun 2009 04:19 PM
Re: 2 Problems I can not solve Richard Urban Windows Vista Performance 1 5th Apr 2009 01:24 PM
Re: 2 Problems I can not solve Malke Windows Vista Performance 0 4th Apr 2009 02:25 PM
Would C++/CLI solve PInvoke problems that C# has in this situation? What is the advantages using C++/CLI then C# when PInvoking umanaged C++ Code. Major problems here. Mohamed Mansour Microsoft C# .NET 14 17th Dec 2007 02:42 AM
having problems with adware how can I solve Lee Dearden Anti-Virus 1 20th Jun 2007 02:22 AM


Features
 

Advertising
 

Newsgroups
 


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