A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Vlookup Cell Format



 
 
Thread Tools Display Modes
  #1  
Old April 17th, 2009, 06:23 PM posted to microsoft.public.excel.worksheet.functions
Richard
external usenet poster
 
Posts: 1,419
Default Vlookup Cell Format

Can vlookup or any other function bring over the cell formatting?
  #2  
Old April 17th, 2009, 06:28 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Vlookup Cell Format

Nope.

Formulas return values.

Richard wrote:

Can vlookup or any other function bring over the cell formatting?


--

Dave Peterson
  #3  
Old April 18th, 2009, 05:03 PM posted to microsoft.public.excel.worksheet.functions
Mr. Haney
external usenet poster
 
Posts: 7
Default Vlookup Cell Format

On Fri, 17 Apr 2009 12:28:42 -0500, Dave Peterson
wrote:

Nope.

Formulas return values.

Richard wrote:

Can vlookup or any other function bring over the cell formatting?



Can a macro copy and paste or otherwise "grab" a cell's formatting for
use in another cell or sheet?
  #4  
Old April 18th, 2009, 05:17 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Vlookup Cell Format

Yep.

But knowing when to run the macro may be difficult to determine.

If you only cared about the cell that is used as the lookup value changed, then
you may be able to use the worksheet_change event (if the user typed in the new
value).

But if the table were reformatted, then this event would not fire.



"Mr. Haney" wrote:

On Fri, 17 Apr 2009 12:28:42 -0500, Dave Peterson
wrote:

Nope.

Formulas return values.

Richard wrote:

Can vlookup or any other function bring over the cell formatting?


Can a macro copy and paste or otherwise "grab" a cell's formatting for
use in another cell or sheet?


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:44 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.