473,320 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Excel Sheet CommandButton

(Please Excuse my poor English).

Hello Friend,

Receive a cordial greeting.

Friend, please see if you could help me with the following thing:
I opened a Sheet of Excel, then I inserted a CommandButton on it, then I associated it with a Code, in such a way that when pick the button, the program runs.
So far, everything goes well.

Now, I want to create an executable (.exe) from this Sheet., because in the event, I put my program in the hands of people, I need to protect the Code associated to the button.

The idea is: the client opens the Sheet of Excel, he sees the CommanButton, in it, he fulls the cells of data, then he oppresses the CommandButton and obtains in the Sheet of Excel the results and graphics, and everything the mentioned Code, works.

Completely transparent for the User. He works all the time, in Excel.

Please, could You help me with this problem?
Thank you.
Aug 29 '07 #1
2 1608
kadghar
1,295 Expert 1GB
(Please Excuse my poor English).

Hello Friend,

Receive a cordial greeting.

Friend, please see if you could help me with the following thing:
I opened a Sheet of Excel, then I inserted a CommandButton on it, then I associated it with a Code, in such a way that when pick the button, the program runs.
So far, everything goes well.

Now, I want to create an executable (.exe) from this Sheet., because in the event, I put my program in the hands of people, I need to protect the Code associated to the button.

The idea is: the client opens the Sheet of Excel, he sees the CommanButton, in it, he fulls the cells of data, then he oppresses the CommandButton and obtains in the Sheet of Excel the results and graphics, and everything the mentioned Code, works.

Completely transparent for the User. He works all the time, in Excel.

Please, could You help me with this problem?
Thank you.
hi,

you cannot create executables from VBA, but you can certainly protect your code from other people

In the vb editor, in your tools menu, you'll have the project properties where you can put a password to protect the code.

Hope that helps
Aug 29 '07 #2
hi,

you cannot create executables from VBA, but you can certainly protect your code from other people

In the vb editor, in your tools menu, you'll have the project properties where you can put a password to protect the code.

Hope that helps
******************
I am very grateful for You. Thanks.
I'll try to find the way to do it. But we are working in VBasic, I liked, the user works in Excel because it's more popular.

Good Bye.
Aug 30 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
14
by: pmud | last post by:
Hi, I need to use an Excel Sheet in ASP.NET application so that the users can enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever the USER ENETRS needs to go to the...
3
by: Jaison | last post by:
Hi all, I would like to add a button to the excel sheet dynamically and this button is to be used to navigate between sheets. Thnx in Advance -- Cheers Jaison
12
by: elziko | last post by:
I'm using late binding (I must) to automate Excel. My code opens Excel after createing and poulating some sheets. My problem is that when the user finally decides to close Excel its process is...
3
by: | last post by:
Hello, I have a routine in my Windows application that exports the contents of a datagrid to Excel. It is modeled closely after the HowTo example on MSDN: http://tinyurl.com/5g2jm. Depending...
3
by: | last post by:
I wrote a class in VB.NET to export the contents of a datagrid to Excel. It works perfectly on my machine, but it fails on my customers' PCs that have identical versions of Win XP (SP1) and Excel...
3
by: implicate_order | last post by:
Greetings, I'm new to python and am in the process of writing a script to parse some CSV data, spread it across multiple Excel worksheets and then generate charts. I searched the internet to...
2
by: Senthil | last post by:
Hi All I need to create an Excel report and create a command button and have to run a macro on the click event that will print all the pages in the Excel workbook. I am able to create the report...
2
hemantbasva
by: hemantbasva | last post by:
Note We need to have a template on server for generating report in multiple sheet as we do not had msoffice on server moreover this require a batch job to delete excel file created by the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.