473,418 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

Regarding Excel file Location

Hi All,

I have macro code which will pull excel file from a relative path specified in code shown below
Set Wkb2 = Workbooks.Open(Filename:=ThisWorkbook.Path & "\Input\Manpower_Master_Forecast_10_BNPPISPL.x ls")
Wkb2.Activate.

But i got requirment like when macro runs it has to ask input filename to be enter by user based on which it has to pull data from that file.

Please if any one haveing any idea or code share with me. Is it possible to give popup bot at file path.

Thanks in Advance
Teja
Jun 23 '10 #1
0 1352

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Pankaj Garg | last post by:
I have written a program, where I download reports in PDF or Excel format, depends on user selection. My code is working fine for PDF format, but same code os not working for excel file. When I...
1
by: lingammca | last post by:
Hi, I am working in a web application where I need to import data from one Excel file. Add a row number to each row in that file and save it in the specified folder. All this have to be done by...
3
by: Johnny | last post by:
Hi, As you know, I can use this to open an Excel file: """ import win32com.client doc = win32com.client.Dispatch("Excel.Application") doc.Workbooks.Open(excelFile, ReadOnly=True) """ But...
0
by: ramyanet | last post by:
Dear All, I have to enable feature of users to import thier excel file in my web application.I have used the Asp.net with Vb. when they click import button file open dialog must appear,then...
0
by: Anish G | last post by:
Hi All, I am getting the below given error while running my application in live server. In my local machine, its working fine. Please help me as it is very urgent for me. Exception from...
1
by: chrspta | last post by:
I am new to Visual basic. I need a program using VB6 that converts txt files to excel file.Description is in the below: The form should have the Drive list, Dir list, file list and cmdConvert...
3
dbushcmohle
by: dbushcmohle | last post by:
Hello, I am having problems exporting a stored procedure's results to an Excel file... I've done this many times successfully, but never had to introduce a variable. Now that I've introduced...
1
by: sunnyK | last post by:
hi all !!! i m new here ,,, i m suffering with excel file. i want help regarding how to open excel file in java as file & read row & column wise ..... not database (e.g. using jdbc odbc...
2
by: thanawala27 | last post by:
Hi. I want to download an Excel file from the server and am using the following code. <input type=button value="Click To Download" onClick="location.href='Logs.xls'"> On clicking this...
2
by: thanawala27 | last post by:
Hi. I want to download an Excel file from the server and am using the following code. <input type=button value="Click To Download" onClick="location.href='Logs.xls'"> On clicking this...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.