Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default paste value from vba into cell

i have the following script working , but need help on pasting value into
another sheet in this workbook, any help would be welcome. Thank You

Dim texzt as String
Private Sub cmdReport_Click()
Message = "Please Enter the Report Date"
Title = "Report Date Input Form"
Default = Date
MyValue = InputBox(Message, Title, Default)
texzt = MyValue
Workbooks("SOUTH CROSS BAYOU - DOR11").Sheets("SCBPg1").Range("D1") = texzt
End Sub

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default paste value from vba into cell

Dim MyStr As String
MyStr = "kjkjkj"
Sheets("Sheet2").Select
Range("A1").Formula = MyStr
Sheets("Sheet2").Select
Range("A1").Formula = MyStr


"Mark J" wrote:

i have the following script working , but need help on pasting value into
another sheet in this workbook, any help would be welcome. Thank You

Dim texzt as String
Private Sub cmdReport_Click()
Message = "Please Enter the Report Date"
Title = "Report Date Input Form"
Default = Date
MyValue = InputBox(Message, Title, Default)
texzt = MyValue
Workbooks("SOUTH CROSS BAYOU - DOR11").Sheets("SCBPg1").Range("D1") = texzt
End Sub

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 copy a value from a cell and paste it into another cell while adding it to the previous value in that cell [email protected] Excel Worksheet Functions 2 November 7th 07 09:39 AM
Password Protection - paste to unprotected cell locks the cell Jimbob Excel Discussion (Misc queries) 7 September 7th 07 06:22 PM
Macro to paste in the active cell the contents of a cell from another file?? LarryB Excel Programming 3 June 12th 06 06:37 PM
Paste Link enters a 0 into the cell where I paste. How do I elemin UNR Excel Discussion (Misc queries) 4 March 28th 05 01:54 AM
Copy and Paste macro needs to paste to a changing cell reference loulou Excel Programming 0 February 24th 05 10:29 AM


All times are GMT +1. The time now is 01:20 AM.

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"