+ Reply to Thread
Results 1 to 2 of 2

vba getting data from a cell to use in find and replace

  1. #1
    Registered User
    Join Date
    01-24-2016
    Location
    N/A
    MS-Off Ver
    2010
    Posts
    26

    vba getting data from a cell to use in find and replace

    Hi, I am trying to tweak this code so that instead of manually typing in the code the new month in MM format every new month I can just reference the value in cell K1 that updates on its own.
    Is there a way that I can replace the month replacement value "/01/" with the data that is in cell K1? In cell K1 I have this formula "=TEXT(TODAY(),"MM")"


    Thanks in advance for any help.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: vba getting data from a cell to use in find and replace

    Hello overbet,

    You can do it like this...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Find and replace data in a cell, based on the cell co-ordinates (non-static)
    By Sashi Jaisingh in forum Excel General
    Replies: 2
    Last Post: 10-18-2018, 02:51 AM
  2. Replies: 16
    Last Post: 12-02-2014, 03:38 PM
  3. [SOLVED] Do Find & Replace multiple times using data in Col B for find & data in Col C for replace
    By ILoveStMartin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2012, 08:23 AM
  4. Find and replace with data from another cell?
    By AaronMHS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2012, 07:33 PM
  5. Replies: 7
    Last Post: 08-23-2012, 05:25 AM
  6. Find and replace cell data
    By acctman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-22-2008, 06:40 AM
  7. [SOLVED] find and replace - replace data in rows to separated by commas
    By msdker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2006, 08:10 PM

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