Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 01-08-2012, 09:08 PM
gsrikanth gsrikanth is offline Is it correct (PasteSpecial function) Windows XP Is it correct (PasteSpecial function) Office XP
Competent Performer
Is it correct (PasteSpecial function)
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by JBeaucaire View Post
A FUNCTION() is by definition a formula. If it is used in a cell, that is.

However a macro can be invoked to run on the activecell. This macro will convert the current selected cells into flat values:

Code:
Sub RemoveFormulas()
    Selection.Value = Selection.Value
End Sub
in below function by giving =sss(a1) in formula bar it well get font size of user

Public Function sss(strCell) As String
sss=strCell.Font.Size
End Function

like that only i need, if i give =sss(a1) remove formula and give flat value
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup PST with correct folders dmarques Outlook 2 06-04-2011 09:59 AM
Is it correct (PasteSpecial function) No scroll bar even though settings are correct Lorretta Word 2 05-06-2011 07:31 AM
Is it correct (PasteSpecial function) Correct Format needed TonyB Mail Merge 3 05-03-2011 01:10 AM
So what is the correct value of PONT_STRING anyway? DrDOS Outlook 0 11-21-2010 04:30 AM
Is it correct (PasteSpecial function) Auto Correct to Stay On sanzlink Word 1 01-16-2009 06:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft