LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default VBA code to read formular from another cell

Hello,

I am trying to do something and not sure if that is possible.

Say in Sheet1, CellA1, I have a comment '= IF(and(b1=c1, d1=e1), "Do This",
"Do That")

Question is how can I call the formula part in a vba to be paste in a
specified cell.

So say I run the macro in Sheet2, the macro should pick the formula =
IF(and(b1=c1, d1=e1), "Do This", "Do That") and paste in say Cell F1, then I
will want to copy the formula down to the last row.

The reason is that I can change the formula for other fields

Many thanks
Carl.


 
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
How do I read this VBA code? [email protected] Excel Discussion (Misc queries) 1 November 21st 06 08:44 PM
Cell formular glenn Excel Discussion (Misc queries) 5 September 10th 06 06:25 PM
cell formular glenn Excel Discussion (Misc queries) 3 September 9th 06 11:30 PM
Need VBA Code to Open a Workbook in read only zulfer7 Excel Discussion (Misc queries) 1 July 10th 06 11:00 PM
how read data downloaded on cd-rw, now show only code? turbobucs New Users to Excel 2 April 1st 05 03:23 PM


All times are GMT +1. The time now is 02:25 PM.

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

About Us

"It's about Microsoft Excel"