new xlsm & VBA problem

K

Karol

I have same Excel 2003 books wiith VBA programming and thise books have
buttons with macros in this way: Book1!'GetMyData 10, 100'

For instance:
Sub 'GetMyData (A, B)
Msgbox "Yours Numbers: " & A & ', " & B
End sub

This macro goes with out problems in Excel 2003 and in Excel 2010 as xls
file.
The problem started, when I want transform xls file into xlsm file (in Excel
2010).
During this transformation Excel 2010 says about errors and finally give me
buttons with macros in this way: Book1!_GetMyData_10__100_ (!!!)
What's the matter?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top