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.

Hoja control consumo cocina

publicado

Buenos días,

Espero que me podías ayudar. He intentado ver algo parecido pero no he encontrado ninguna solución.

Me han pasado una hoja de excel con formulas y macros, que no entiendo.

Era de un cocinero frances, y quien me la ha pasado ha cambiado algun nombre y ahora da error.

Segun me ha dicho mi jefe sirve para dar contolar el coste/ingtreso de la comida dándo entrada a la mercancia por albaranes.

No se si me podéis ayudar, y si necesitais ayuda em lo decís. La verdad es que yo estoy un poco perdido con la hoja...

Muchas gracias!

Un saludo

food cost.rar

Featured Replies

publicado

_____________________________________________________

Sustituye el código VBA de la hoja:

Inventario

Private Sub CommandButton1_Click()
Application.DisplayAlerts = False
Sheets("Inventario").Select
Range("A1").Select
ActiveSheet.PivotTables("PivotTable1").RefreshTable
Range("A2").Select
ActiveSheet.PivotTables("PivotTable1").RefreshTable
Range("A4").Select
ActiveSheet.PivotTables("PivotTable1").RefreshTable
Application.DisplayAlerts = True
End Sub
[/CODE]

[b][u][color=#0000b3]Proveedor[/color][/u][/b]

[CODE]Private Sub CommandButton1_Click()
Application.DisplayAlerts = False
Sheets("Provedor").Select
Range("A4").Select
ActiveSheet.PivotTables("PivotTable1").RefreshTable
Columns("D:D").Select
Selection.Copy
Columns("E:E").Select
Selection.PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
Selection.NumberFormat = "#,##0.00_ ;[Red]-#,##0.00 "
Application.DisplayAlerts = True
End Sub
[/CODE]

____________________________________________________________

publicado
  • Autor

Tampoco me funciona.

Bueno, le cambio el código y en la pestaña inventario me hace un cambio de celdas, pero no me coge datos. Y

en proveedores me da un error de código.

Y es que realmente no se como funciona y para que son las siguientes pestañas.

Se q en la primera se rellena el pedido recibido..luego voy a la segunda y no se mas, y la tercera hoja tampoco.

Gracias por vuestra ayuda

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.