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.

AYUDA PARA CREAR UNA FORMULA

publicado

Que tal, me podrían apoyar con la creación de una función para aplicar "Superscript" lo estoy intentando pero no me esta dando ningún resultado:

Function SUPERSCRIPT(x As String) As String
    SUPERSCRIPT = Font.Superscript = True
End Function

No tengo mucho conocimiento de VBA. Por eso acudo a su ayuda.

De antemano gracias y hasta luego...

Ss.

Featured Replies

publicado
  • Autor
En 13/6/2020 at 1:02 , avalencia dijo:

Hola

Si tu intención es cambiar el formato de una celda a través de una UDF, siento decirte que no se puede. De ser otro tu dilema, trata de dar más detalles. Saludos.

Quería expresar un formato de celda "Superscript" como fórmula. Para incluirla dentro de una fórmula que estoy creando para transformar un texto. Ejm:

Sin fórmula: Rank 1

Con fórmula: Rank 1

Creo que al final esto no se puede lograr.

Muchas gracias por la aclaración.

Ss.

publicado

Saludos @RandalHP, tal vez con la UDF no se pueda, pero pudieras hacerlo con un macro normal, algo así

Sub Macro1()
    
    With ActiveCell.Characters(Start:=Len(ActiveCell), Length:=1).Font
        .Name = "Calibri"
        .FontStyle = "Normal"
        .Size = 11
        .Strikethrough = False
        .Superscript = True
        .Subscript = False
        .OutlineFont = False
        .Shadow = False
        .Underline = xlUnderlineStyleNone
        .ThemeColor = xlThemeColorLight1
        .TintAndShade = 0
        .ThemeFont = xlThemeFontMinor
    End With
    
End Sub

suerte

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.