Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-06-2013, 12:59 AM
SaneMan SaneMan is offline Macro to change cell references Windows 98/ME Macro to change cell references Office 2003
Novice
Macro to change cell references
 
Join Date: Jan 2011
Posts: 20
SaneMan is on a distinguished road
Default Macro to change cell references

I've been scratching my head for the last couple of days with a Visual Basic problem and was hoping for some help.

I have a spreadsheet in Excel with a hundred and so rows of data and each cell has a reference to another spreadsheet it feeds its information from. For example, the data in column B16 of my spreadsheet is populated by its cell reference to this other spreadsheet.

I've been trying to write a macro which changes the cell references (i.e. A20) by going two letters up in the alphabet. So A20 would become C20, B12 would become D12, etc). The macro needs to be able to amend the cell reference formulas this way, if it's possible. So in the end the macro would run this in a loop and save copies of various spreadsheets and save them with a identifiable filename. I have everything working but the cell reference bit.



Any help would be much appreciated.
Reply With Quote
 

Tags
cell references, macro, vba excel



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to change cell references Creating a Macro to change the shading of a cell Triscia Word VBA 3 01-30-2013 04:18 PM
Change formula cell range based on cell value Scoth Excel 4 10-25-2012 07:51 AM
Formula that references cell with text in different workbook no1texan Excel 3 07-17-2012 05:58 AM
Detect a cell has un-approved change or not? LongTTH Excel Programming 1 05-20-2012 02:22 AM
Macro to change cell references how to change number in cell ubns Excel 5 05-14-2012 04:21 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft