Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA and F2 programming question


I am trying to write a macro that will basically F2 (edit) a cell an
hit enter to go to the cell beneath. I'd like to do this for an entir
column or range of cells.
This seems to be the only way to format some of my cells to get th
vlookup working properly, and i wind up F2-ing thousands of cell
sometimes.
Any ideas? I've looked all over MS help and can't find a thing

--
nl_fa
-----------------------------------------------------------------------
nl_fan's Profile: http://www.excelforum.com/member.php...fo&userid=1484
View this thread: http://www.excelforum.com/showthread.php?threadid=26469

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default VBA and F2 programming question

Hi nl_fan,

I seem to recollect Dave Peterson suggesting using a global search and
replace, replacing = with =


---
Regards,
Norman



"nl_fan" wrote in message
...

I am trying to write a macro that will basically F2 (edit) a cell and
hit enter to go to the cell beneath. I'd like to do this for an entire
column or range of cells.
This seems to be the only way to format some of my cells to get the
vlookup working properly, and i wind up F2-ing thousands of cells
sometimes.
Any ideas? I've looked all over MS help and can't find a thing!


--
nl_fan
------------------------------------------------------------------------
nl_fan's Profile:
http://www.excelforum.com/member.php...o&userid=14841
View this thread: http://www.excelforum.com/showthread...hreadid=264694



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default VBA and F2 programming question

do the cells contain the vlookup formula and it displays the formula rather
than executing the formula?

or do you mean Vlookup can't fine the value even though it is clearly there.

In the later case, format the column/cells as general. then put 1 in a
blank cell and copy it. Select the column/cells and do Edit=Pastespecial
and select just Values and Multiply.

this will convert them back to numbers.

--
Regards,
Tom Ogilvy

"nl_fan" wrote in message
...

I am trying to write a macro that will basically F2 (edit) a cell and
hit enter to go to the cell beneath. I'd like to do this for an entire
column or range of cells.
This seems to be the only way to format some of my cells to get the
vlookup working properly, and i wind up F2-ing thousands of cells
sometimes.
Any ideas? I've looked all over MS help and can't find a thing!


--
nl_fan
------------------------------------------------------------------------
nl_fan's Profile:

http://www.excelforum.com/member.php...o&userid=14841
View this thread: http://www.excelforum.com/showthread...hreadid=264694



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not exactly a programming question Daryl Timm[_2_] Excel Programming 2 August 14th 04 12:48 AM
Programming Question Mac Lingo[_2_] Excel Programming 3 August 7th 04 06:56 PM
Programming Question Jon Turner Excel Programming 10 June 28th 04 04:03 AM
Help with programming question drummerboy827 Excel Programming 6 September 26th 03 11:03 PM
Cell value programming question Anders Wåhlin Excel Programming 3 September 1st 03 03:34 PM


All times are GMT +1. The time now is 01:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"