excel - Formula and text combined within VBA code -


i having issue combining formula text in vba format. can hel :) line of code errors 1004 error is;

range("d4").value = "=control page'!$m$9&" cost challenge fte tracker month" 

i pick values within worksheet controlpage'!$m$9 , combine text cost challenge fte tracker month.

i sure should simple fix.

any appreciated.

thanks sean

how about:

range("d4").formula = "='control page'!$m$9 & " & """ cost challenge fte tracker month""" 

Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -