Userform Not Working on Mac(Coded in PC)? Is there a difference?

Lukej44

New Member
Joined
Mar 19, 2015
Messages
4
Hi,

I have a userform that I created and it runs perfectly on my PC. When I send it to my coworkers Mac with the latest Office 365, and Excel 2011 the userform pops up and will give me the option to use the functionality(checkboxes, textboxes, ect.), but not get the references to the numbers needed for the calculations located on sheet2.

Trying to get this calculator worked out for Macs so I can push this out to our Reps in the Field.

Any info will help!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
but not get the references to the numbers needed for the calculations located on sheet2.

What exactly does that mean? VBA is not 100% compatible between Mac and PC but it's hard to comment without more information.
 
Upvote 0
So I've tried 2 different way so far. The first had about 25 variables that could be 1 of 4 numbers based on what type of structure they chose and what type of currency was selected. These were simple modifier values. This was all done in VBA code. The second way I tried was to put the values in sheet2 and hide it.

this is what I currently have right now.

Dim index As Integer
index = AppBox.ListIndex

Select Case index
Case Is = 0
IAWI = Sheet1.Cells(66, 2).Value
WindowsPhone = Sheet1.Cells(67, 2).Value
BlackBerry10 = Sheet1.Cells(68, 2).Value
desktop = Sheet1.Cells(69, 2).Value
meetings = Sheet1.Cells(70, 2).Value
AR = Sheet1.Cells(71, 2).Value
AAR = Sheet1.Cells(72, 2).Value
IM = Sheet1.Cells(73, 2).Value
Gam = Sheet1.Cells(74, 2).Value
Beac = Sheet1.Cells(75, 2).Value


What happens is when a checkbox is checked, the value is supposed to be returned to the textbox associated with that value. It will come back as 0 everytime. I have a print cost summary as well and it still works but all my values are 0 still.
 
Upvote 0
So I used a previous file that had sheet10 as the first one and that was it. I don't know why they ended up there but I didn't catch it until I already had it done. I technically call sheet1, "sheet2" for reference. I wonder if the sheet numbers would change going to a mac from a PC. For example, what if the mac version called sheet1 sheet2 instead?
 
Upvote 0
You are using codenames which shouldn't change unless the user changes them in the VB editor.
 
Upvote 0

Forum statistics

Threads
1,223,386
Messages
6,171,790
Members
452,424
Latest member
Sheila003

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top