Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
bw bw is offline
external usenet poster
 
Posts: 74
Default Putting Formula in Cell

Cell A1 contains the following formula: = J2 & ": " & K1
How do I put this formula in cell A1 using VB?

Thanks,
Bernie


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Putting Formula in Cell


Range("A1") = "=J2 & ""."" & K1"

  #3   Report Post  
Posted to microsoft.public.excel.programming
bw bw is offline
external usenet poster
 
Posts: 74
Default Putting Formula in Cell

Thanks Allan!

I see my problem is/was the Quotes. My actual formula is quite long, and
the double quotes did the trick.

Bernie

wrote in message
oups.com...

Range("A1") = "=J2 & ""."" & K1"



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
How can I assign a value to a cell without putting a formula in it WFariss Excel Worksheet Functions 4 February 17th 10 01:10 PM
putting a name in a formula T-bart[_2_] Excel Discussion (Misc queries) 2 January 18th 08 03:17 AM
Putting line between formula Killer Excel Discussion (Misc queries) 4 June 13th 07 05:09 AM
putting a string from one cell in the formula of another -- indirect needed? [email protected] Excel Worksheet Functions 3 January 23rd 06 07:55 PM
Putting Array Formula into each Cell in a Selection (that doesn'ttake eons!) Dave Peterson[_3_] Excel Programming 1 April 1st 04 09:34 AM


All times are GMT +1. The time now is 04:32 PM.

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"