View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
ExcelMonkey[_147_] ExcelMonkey[_147_] is offline
external usenet poster
 
Posts: 1
Default Passing cell addressess to variables to be use in range

Figured it out.

Sub Macro3()

Dim FirstCell As String
Dim LastCell As String

FirstCell = Range("BeginRangeCell")
LastCell = Range("EndRangeCell")


Sheets("Import Sheet").Select
Range(FirstCell & ":" & LastCell).Select
Selection.Copy
End Su

--
Message posted from http://www.ExcelForum.com