Excel Support

Copper Contributor

Hi- I have created a calculator in excel using Visual Basics and the calculator works! But now I want to add a button to the spreadsheet and link this to the calculator so that when the button is pressed the calculator will open and allows the user to use it! How do I do this?

1 Reply

@StevenTonkin 

Maybe that will help

Copy a .bat (batch) file created according to the following pattern into the autostart folder:

C: \ User \ Adninistrator> test.xlsx (The input of the file)

C: \ User> copy con teststarten.bat (Start Excel and open it)

test.xlsx ^ Z (This also works as a batch file ^ Z stands for Ctrl-z or F6 key.)

1 file (s) copied.

C: \ User> teststarten (start test start)

c: \ User> test.xlsx (again calls the file)

C: \ User> (and opens Excel)

The fact that Excel is opened twice with the file "in between" cannot of course be seen in the command line.

The first command is only for testing, and after ^ Z or F6 you have to press Enter of course.

 

Hope I was able to help you.

Thank you for your understanding and patience

 

Nikolino

I know I don't know anything (Socrates)