|
-
Aug 25th, 2000, 02:51 PM
#1
Thread Starter
Fanatic Member
Could you submit a listing of the code that attempts to activate the work sheet? Maybe that would make it clearer to me what the exact problem is.
-
Aug 25th, 2000, 03:47 PM
#2
Lively Member
Yea like he said, i could probably be able to help if the problem were more clearer
-
Aug 26th, 2000, 01:38 AM
#3
New Member
Well I dont have any code that is doing anything at the moment. I was trying to use the macro recorder. Let me try to explain this.
I have a macro that the user starts that opens all the files in a specific folder. It creates a list of all the files opened, and then closes them.
The list it creates is used to populate a drop down menu. Which I am hoping to find a way to select a file name from, then click on a command button to re-open that file and perform some copy paste functions into the active workbook.
I cant figure out a way to get Excel to open the Excel file. The name of the file I want to open is listed as the value of cell AC1. I would like a macro that would look at the file name in that cell and open that file.
is this possible?
-
Aug 26th, 2000, 12:41 PM
#4
Thread Starter
Fanatic Member
This command opens whatever filename is stored in cell AC1:
Code:
Workbooks.Open Filename:=Range("ac1").Text
Is that what you needed to find out?
-
Aug 26th, 2000, 01:08 PM
#5
New Member
Thank-you yes
that part works now..
Douglas
-
Aug 26th, 2000, 01:34 PM
#6
Thread Starter
Fanatic Member
Great, I am glad to hear that.
Now that you have my attention: Was there anything else?
-
Aug 26th, 2000, 03:09 PM
#7
New Member
why yes there is something else. How would you go to a given cell on a workbook. the active cell is A1. the value of cell A2 is ac45. How would you go to cell AC45?
the value in cell A2 changes and I need the active cell to change to whatever the value of cell A2 is.
Any Ideas?
Douglas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|