Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Replace words in Formulas on a DashBoard worksheet

Hi All,

Does anyone know of a VBA procedure to Replace words in Formulas found
on a Sheet?

I have a Dashboard worksheet which has VLOOKUP formulas referencing
different fles which are according to months.

If i create a copy of the files & change their names to reflect the
current month, i have to go ahead & edit the Vlookup formulas on the
Dashboard worksheet to get data from the current month's files.

Since i file naming convention like:

XXXXXXX-May-06.xls
XXXXXXX-Jun-06.xls.....

Is there a VBA procedure which can look for May-06 & replace it with
Jun-06???

Warm Regards,

Junoon

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Replace words in Formulas on a DashBoard worksheet

junoon wrote:
Hi All,

Does anyone know of a VBA procedure to Replace words in Formulas found
on a Sheet?

I have a Dashboard worksheet which has VLOOKUP formulas referencing
different fles which are according to months.

If i create a copy of the files & change their names to reflect the
current month, i have to go ahead & edit the Vlookup formulas on the
Dashboard worksheet to get data from the current month's files.

Since i file naming convention like:

XXXXXXX-May-06.xls
XXXXXXX-Jun-06.xls.....

Is there a VBA procedure which can look for May-06 & replace it with
Jun-06???

Warm Regards,

Junoon


What's wrong with Find & Replace?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Replace words in Formulas on a DashBoard worksheet


Paul Lautman wrote:
junoon wrote:
Hi All,

Does anyone know of a VBA procedure to Replace words in Formulas found
on a Sheet?

I have a Dashboard worksheet which has VLOOKUP formulas referencing
different fles which are according to months.

If i create a copy of the files & change their names to reflect the
current month, i have to go ahead & edit the Vlookup formulas on the
Dashboard worksheet to get data from the current month's files.

Since i file naming convention like:

XXXXXXX-May-06.xls
XXXXXXX-Jun-06.xls.....

Is there a VBA procedure which can look for May-06 & replace it with
Jun-06???

Warm Regards,

Junoon


What's wrong with Find & Replace?



I have around 300 cells referenced from 15 different workbooks & each
Vlookup done is for different types of Data (Numeric, Text etc).

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
Freeze Formulas - Replace Worksheet Gary''s Student Excel Discussion (Misc queries) 5 February 19th 10 02:16 PM
Replace several words to One Wanna Learn Excel Discussion (Misc queries) 2 April 30th 08 01:56 PM
Replace all formulas in one worksheet to link to different worksh Relacing all formulas Excel Discussion (Misc queries) 2 June 7th 06 05:49 PM
Replace words from ADO recordset jenhu[_3_] Excel Programming 0 March 28th 06 05:27 PM
Search And Replace Whole Words Mary H Excel Programming 2 December 21st 05 08:58 PM


All times are GMT +1. The time now is 10:42 AM.

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

About Us

"It's about Microsoft Excel"