Skip to content

Commit

Permalink
VBA Robot
Browse files Browse the repository at this point in the history
  • Loading branch information
VBA Robot authored and VBA Robot committed Feb 5, 2023
1 parent bd43302 commit 7cd51b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ~VBA Code/cbsbaRibbon
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ end sub

public sub launchbasicsolver(control as iribboncontrol)
#if mac then
msgbox "the solver controls on the cbs ba ribbon do not work on a max. to use solver, go " & _
msgbox "the solver controls on the cbs ba ribbon do not work on mac computers. to use solver, go " & _
"to tools > excel add-ins, and check the 'solver' option." & vbcrlf & vbcrlf & _
"then, go to the 'data' tab and click on 'solver'"
"then, go to the 'data' tab and click on 'solver'", vbinformation
#else

dim i as integer
Expand All @@ -43,15 +43,15 @@ public sub launchbasicsolver(control as iribboncontrol)
end if
next i

msgbox "could not enable solver on your computer."
msgbox "cbs ba: i wasn't able to enable solver on your computer. please ask for assistance.", vbexclamation
#end if
end sub

public sub launchsolverresolve(control as iribboncontrol)
#if mac then
msgbox "the solver controls on the cbs ba ribbon do not work on a max. to use solver, go " & _
msgbox "the solver controls on the cbs ba ribbon do not work on mac computers. to use solver, go " & _
"to tools > excel add-ins, and check the 'solver' option." & vbcrlf & vbcrlf & _
"then, go to the 'data' tab and click on 'solver'"
"then, go to the 'data' tab and click on 'solver'", vbinformation
#else
on error resume next
application.run "solver.xlam!solversolve", false
Expand Down

0 comments on commit 7cd51b7

Please sign in to comment.