Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

código no me funciona con Mac

publicado

Hola, tengo un juego de Poker que funciona perfectamente. 

Pero lo copio a un Mac y el juego lo puedo modificar a mi gusto pero las imágenes del cubilete (como si se moviera) no funciona, solo las imágenes,

que parte del código debería modificar ? envío parte del programa, la macro en cuestión.

Sub Tirar()

Dim COLUMNAS As String

Dim DADOS As String,

DADO As Integer

Dim y As Integer, d As Integer '--

Randomize Range("A1").Select

COLUMNAS = "FGHGHGI" 'Columna de la imagen del cubilete

DADOS = "JKLMNO"   'Columna de la imagen de los dados Visualizar

False For y = 1 To Len(COLUMNAS)    

ActiveSheet.Shapes.Range("CUBILETE").Select    

Selection.Formula = "=" & "'.'!" & Mid(COLUMNAS, y, 1) & 4    

ActiveCell.Select     If y = Len(COLUMNAS) Then        

Application.ScreenUpdating = False        

Visualizar True        'uf = Range("E" & Rows.Count).End(xlUp).Row + 1        'Range("E" & uf) = uf - 6        

For d = 1 To 5          

DADO = Int((6 * Rnd) + 1)          

ActiveSheet.Shapes.Range("DADO" & d).Select          

Selection.Formula = "=" & "'.'!" & Mid(DADOS, DADO, 1) & 8          'Range("E" & uf).Offset(0, DADO) = Range("E" & uf).Offset(0, DADO) + 1      

 Next        'Range("L" & uf) = Range("F" & uf) * 6 _                        + Range("G" & uf) * 5 _                        + Range("H" & uf) * 4 _                        + Range("I" & uf) * 3 _                        + Range("J" & uf) * 2 _                        + Range("K" & uf)    

End If    

Application.Wait (Now + TimeValue("00:00:01"))

Next ActiveCell.Select Application.ScreenUpdating = True

End Sub

Featured Replies

No hay posts para mostrar

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.