Concatenate formula in VBA

sefMI

Board Regular
Joined
Apr 24, 2006
Messages
127
Anyone know how to write this formula in vba using the activecell.row method instead of the hard code? =CONCATENATE(E4," ",G4)
I'm having trouble coding the ," ", space, vba keeps flipping out at me :wink:
I know I could use & to make it a value in the cell, but I need it to be a formula because G4 is a date that changes.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Thanks.
Is there a list of the various chr(##) and what they do? I tried looking it up in the object browser, no luck.
 
Upvote 0
Sure, try the VBA Help under Miscellaneous - you're looking for the character sets.

Alternatively, do a Google search for ASCII codes.

Best regards

Richard
 
Upvote 0

Forum statistics

Threads
1,224,352
Messages
6,178,066
Members
452,822
Latest member
MtC

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top