Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I use the code below to import information to a userform, As you can see it
is static. What changes can be made to make volitile? TextBox6.Text = Worksheets("INVOICE").Range("A17").Value Thanks Greg |
#2
![]() |
|||
|
|||
![]()
More info on how you want to get the variable? Input box ?
-- Don Guillett SalesAid Software "Greg B" wrote in message ... I use the code below to import information to a userform, As you can see it is static. What changes can be made to make volitile? TextBox6.Text = Worksheets("INVOICE").Range("A17").Value Thanks Greg |
#3
![]() |
|||
|
|||
![]()
What I have done is, I have wrote a sales database and when I have finished
it copies the worksheet and renames it. I want the ability to view the invoice later when needed. I was going to select the sheet and then have this code for every textbox on the userform grab the information from the various worksheets. I know the code originally is for the invoice worksheet only I more wanted it to be for the active worksheet but I just cant make it happen. Thanks Greg "Don Guillett" wrote in message ... More info on how you want to get the variable? Input box ? -- Don Guillett SalesAid Software "Greg B" wrote in message ... I use the code below to import information to a userform, As you can see it is static. What changes can be made to make volitile? TextBox6.Text = Worksheets("INVOICE").Range("A17").Value Thanks Greg |
#4
![]() |
|||
|
|||
![]() Set ws =Worksheets("INVOICE") ' do your stuff ws.Range("A17").Value 'doen't matter what the name is then -- HTH Bob Phillips "Greg B" wrote in message ... What I have done is, I have wrote a sales database and when I have finished it copies the worksheet and renames it. I want the ability to view the invoice later when needed. I was going to select the sheet and then have this code for every textbox on the userform grab the information from the various worksheets. I know the code originally is for the invoice worksheet only I more wanted it to be for the active worksheet but I just cant make it happen. Thanks Greg "Don Guillett" wrote in message ... More info on how you want to get the variable? Input box ? -- Don Guillett SalesAid Software "Greg B" wrote in message ... I use the code below to import information to a userform, As you can see it is static. What changes can be made to make volitile? TextBox6.Text = Worksheets("INVOICE").Range("A17").Value Thanks Greg |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Make Change Case in Excel a format rather than formula | Excel Worksheet Functions | |||
Error trapped only while stepping through the code - Not triggered when run | Excel Discussion (Misc queries) | |||
Opening a file with code without a set file name | Excel Discussion (Misc queries) | |||
Opening a file with code without a set file name | Excel Discussion (Misc queries) | |||
Error trapped only while stepping through the code - Not triggered when run | Excel Discussion (Misc queries) |