Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I currently need to change the following so that I can
select a variable amount of rows, rather than 1 column. I am sure that it has to do with the str_column, but can not figure out how! this is the script I am presently working with: Const target_wb = "VCS Merge Data WORKBOOK.xls" Dim str_column Dim file_name Dim source_wb Dim str_search As String Dim str_replace As String file_name = Application.GetOpenFilename Workbooks.Open Filename:=CStr(file_name) source_wb = ActiveWindow.Caption str_column = InputBox("Enter your column to copy") str_column = str_column & ":" & str_column |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Selecting a variable print area in a macro | Excel Discussion (Misc queries) | |||
Macro for Selecting Cells within a Range | Excel Worksheet Functions | |||
Selecting a range of cells in a macro | Excel Discussion (Misc queries) | |||
macro syntax for selecting variable range | Excel Discussion (Misc queries) | |||
Selecting a Range Using a Variable | Excel Programming |