Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #16  
Old 12-16-2010, 02:57 AM
BjornS BjornS is offline Auto Update the date. Windows Vista Auto Update the date. Office 2003
Competent Performer
 
Join Date: Jan 2010
Location: Sweden
Posts: 116
BjornS is on a distinguished road
Default

Hi,
Assume you have written the formula =2*$A$1 in cell B1. This is a absolute reference. Regardless of to what cell you copy this formula, it will always say: =2*$A$1



A relativ reference in cell B1 would instead be: =2*A1 If this formula is copied elsewhere, it will always refer to "the cell en step to the left". If you copy it to cell B2 it will be =2*A2 in that cell.

If you record a macro with absolut references, it will record exactly in what cells you have been clicking, copying etc. If you use reletive references, it will record "now he moved two rows down and one column to the right", instead of the actual cell references.

Compare the macro code with and without the relative reference and you will notice this difference!

Kind regards
Bjorn
Reply With Quote
  #17  
Old 12-16-2010, 04:23 AM
Nirik's Avatar
Nirik Nirik is offline Auto Update the date. Windows XP Auto Update the date. Office 2007
Smart Novice
Auto Update the date.
 
Join Date: Dec 2010
Location: Mumbai, India
Posts: 24
Nirik is on a distinguished road
Default

Thks for ur valuable information dude,
ur a genius buddy.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Update the date. Date auto-populates based on checkbox mcarter9000 Word VBA 5 12-23-2010 12:39 PM
Creating an Auto-Calc'd Date? Today+7 Days? SoCalTelephone Word 0 10-06-2010 10:27 AM
Project Auto-Update hB-sys Project 0 04-15-2010 06:46 AM
Auto Update the date. Auto date alarm? markg2 Excel 3 11-18-2009 08:25 AM
new appointment date always reverts back to today's date msills Outlook 0 08-24-2007 08:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:25 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