Finding all the Formats used in an Excel Sheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I want to find all the formats which have been used in excel sheet.
Can you please provide some VBA/Code to retrieve the same?

Regards,
Brijesh
 
Hi Brijesh..

This may not be a direct solution….but still.. Create a short cut ke
for this macro. You may go to each cell and press shortcut key t
display the format..Expand “ If” clause, for other formats also…

Sub ContentChk()
If Application.IsText(ActiveCell) = True Then
MsgBox "Text"
Else
If ActiveCell = "" Then
MsgBox "Blank cell”
Else
End If
If ActiveCell.HasFormula Then
MsgBox "formula"
Else
End If
If IsDate(ActiveCell.Value) = True Then
MsgBox "date"
Else
End If
End If
End Su
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top