+ Reply to Thread
Results 1 to 3 of 3

VBA Help = Find formulas that start with specific syntax and copy, paste special, values

  1. #1
    Registered User
    Join Date
    05-31-2012
    Location
    Overland Park, KS
    MS-Off Ver
    Excel 2010
    Posts
    2

    VBA Help = Find formulas that start with specific syntax and copy, paste special, values

    I have a spreadsheet with a lot of formulas. Not all the formulas are the same. I would like to use VBA to find any formula that starts with "=IF(BDH(" and copy and paste special the values of that formula. I would think this would be fairly easy, but after hours of searching the web I still haven't found the right code. Any help would be greatly appreciated.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VBA Help = Find formulas that start with specific syntax and copy, paste special, valu

    Ctrl+F, in the Find box, enter "=IF(BDH(" sans quotes, and select Lookin: Formulas from the dropdown.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-31-2012
    Location
    Overland Park, KS
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: VBA Help = Find formulas that start with specific syntax and copy, paste special, valu

    Thanks for the response but unfortunately I had tried that already and it doesn't work. It certainly finds all the formulas, but since it highlights multiple selections you can't then copy that and paste special values because when you hit copy excel gives a warning message that says "That command cannot be used on multiple selections". That's why I think I need VBA code to find each formula and copy paste special values. Anybody know the code to do this?
    Last edited by stmmoore23; 03-05-2013 at 07:56 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1