Its regarding Hiding / Making the specific excel file invisible or hidden
I have used the following VBA code :
'Workbooks("Budget.xlsm").Windows(1).Visible = False
'Windows("Budget.xlsm").Visible = False
Application.Visible = False
The problem with the above code is that it makes all the opened excel file invisible and not the one I required.
Also neither I can work nor I can open any other excel file using those commands.
Could you please help me out on this.
Keep in mind, I don't know your application and I could be on the wrong track.
I made a sample file at the link below, it was made fast, just to see and I can't see your problem.
The workbook as two userform, you can open a new workbook, close the first userform that will open the second userform, work on the second workbook,close the second userform, and I'm out of idea. It works for me. Have a look at the sample file.
http://dropcanvas.com/oy4gw
Have a look at Jim Cone's post also
P.S. I'm often out and not sure when I'm back.
Cimjet
Similar Messages
-
In SAP Webdynpro using ABAP,how to colour the downloaded excel file?
Hi all Experts'
I have downloaded the data from the webdynpro application into an excel file in the presentation server using a custom button in a layout of a view in the webdynpro component.
Now the requirement is to colour the column heading names and the downloaded excel file should show the full column length.
Could anybody help me on this how to do this two things.
Thanks in advance.Hi,
You can use this function GUI_EXEC.
Let say you want to use winzip to zip the file then what you should do like this:
use this command --> ' -min -a D:\WALCOTT.ZIP D:\MBARANG.TXT'
D:\MBARANG.TXT --> path to the file you want to Zip
D:\WALCOTT.ZIP --> result zip file
The command above is depends on the software you use to zip.
then
DATA: cmdguiexec(150).
cmdguiexec = cmd.
CALL FUNCTION 'GUI_EXEC'
EXPORTING
command = cmdguiexec.
Hope this help you.
Best Regards,
Victor. -
VB Script That Detects if A Specific Excel File is Open
Hi Guys,
I'm trying to move away from Task Scheduler as my trigger for opening an Excel file. The problem there is it has a minimum of 5 min interval (I need at least 30 sec) and If the process of the initial instance of the Excel file is longer than the usual that
after 5 min another instance executes it messes up my memory bandwidth. What I want is to use VB Script that first check if a particular Excel file is open if yes then wait for another 30 sec to check.
Question: What is the right syntax/code for detecting a specific Excel file and loops every 30 sec. But I also want to be able to end the loop if I want to.
Here is my current code:
Gateway Timeout
RequestURI=http://timeentry/
Set Recordset = CreateObject("ADODB.Recordset")
ConnString = "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=PHMNWWKS027604; DATABASE=db_skusetup; " &_
"UID=root;PASSWORD=; OPTION=3"
'Check for Export Query'
Recordset.ActiveConnection = ConnString
exportSQL = "SELECT * FROM tb_queue_export WHERE request_status = 'Pending' ORDER BY request_id DESC LIMIT 1"
Recordset.Open exportSQL
Set objExcelExtract = CreateObject("Excel.Application")
Set objWorkbookExtract = objExcelExtract.Workbooks.Open("C:\Users\ushuam00\Desktop\LAPTOP.xlsx")
If objWorkbookExtract.ReadOnly then
if Recordset.Fields(3) <> "" then
end if
end if
test= MsgBox(Recordset.Fields(3),3,Recordset.EOF)
Recordset.Close
ReadOnly is not doing it for me.The only way to test it is to open it. Just open writable and, if the file is open you open with fail then loop and try again until you can open it. Once open just execute your macro.
This can loop until you can open the file.
Set xl = CreateObject("Excel.Application")
Do While True
Set wb = xl.WorkBooks.Open("C:\scripts\test.xlsx")
If wb.ReadOnly Then
MsgBox "readonly"
wb.Close()
Else
MsgBox "OK"
Exit Do
End If
WScript.Sleep 5000
Loop
xl.Quit
¯\_(ツ)_/¯ -
Unknown error making the ibooks export file
Hi,
Have done it hundred times already but for some reason now I get "a unknown error" in the proces of making the .ibooks export file out of the .iba.
Does somebody have a clue what first things first I have to check? Put already some back-ups back but also the same problem.
working on Mountain Lion 10.8 OSX, ibooks author 1.1 (190). Dutch versions.
Book counts 225 pages (@astro_andre), IBA file is 1,16 Gb, ibooks file appr. 750 MbSolved. There was an error somewhere in the book. Chapterheading and text frame overlapped.
-
How to open a specific excel file by activex & overwrite by set_cell_value.vi
I've seen the 'Write Table and Chart to XL.llb', but how can i open an existing excel file/workbook/sheet and rewrite some of the data instead of open a new worksheet everytime? It may already shown in your examples somewhere, but since I'm new to activex/property node stuff, I can't figure it out. Your help is appretiated.
Thanks
AnthonyThe process is very similar. Starting with the example, open the diagram and you'll see a VI labled "Open Book" (The name of the VI is actually "Open New Workbook.vi". Right click on it and select Replace/Select a VI...
Now navigate to \\Labview 7.0\examples\comm\excelexamples.llb and select the file "Open Specific Workbook.vi". This VI has an input for specifying a filename to open.
Likewise, the example also calls a VI named "Open a New Worksheet.vi" replace that with "Open a Specific Worksheet.vi" (found in the same place).
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Parameter in WEBADI How to Download the WebADI Excel File with Parameter
Experts, How to Download the Oracle Web ADI Excel File followed by entering Parameters which means the spread sheet should display the data dynamically based on the parameter provided by the end user. Can anybody share any hint or idea? Regards, Gaurav Nagpal.
Can anybody help me please!
-
Oracle WebADI: How to Download the WebADI Excel File with Parameter
Hello Friends,
How to Download the Oracle WebADI Excel File with Parameter??
For Ex: How to download the Employees for Specific Department from Oracle WebADI.
And After to change the specific changes on Employee Data to Upload.
Thanks in Advance.Hi Team.
Any Advise on it!! -
The program making the flat txt file when creating payment proposal...
Hello everybody!
Do you know what is the program used by trx F110 (Automatic Payment transactions) to create the flat text file in the Operating System? I know that, in case of a payment method 'C' (check), SAP can print the check using the programs that appear at Printout/data medium tab (listed in the Form printing/DME box). But the issue is that the check is printing the street address of the vendor, not the one of the ALTERNATIVE PAYEE, in this case the payee is one of the vendor customers, but the check does not print the customer address.
I would be glad if I could find the txt file creator program, due the information is sent to the printing program is at this file, so I become able to investigate the behavior of the program. Further beyond: do you know why F110 is not able to print the address of a customer of the vendor when making checks with alternative payee being one of their customers? Thank you and regards!Hi guys:
Jeje, there was not standard program that made the txt file, but a Z program. The FI functional was able to locate it and then I modified it. Thank you anyway. -
User is not able to download specific excel file in sharepoint
Hi,
Could you please help?
thanks
srabonHi Srabon,
According to your description, my understanding is that you cannot download the excel file from SharePoint.
I recommend to check if the Download a Copy buttons can be used in the Excel web app and in the ribbon of the library.
If both the two buttons cannot work, I recommend to check the permission of the user on the excel file and check if the Information Rights Management is enabled in the library.
When Information Rights Management is enabled in the library and the user has only read permission on the document, then the file cannot be downloaded.
http://office.microsoft.com/en-in/sharepoint-help/apply-information-rights-management-to-a-list-or-library-HA102891460.aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Regarding ME2L - Download output to Excel File
Hi Friends,
In ME2L, I have requirement to download the Purchasing Documents Per Vendor Report Output to a Excel File.
Could be helpful is there any UserExit or Enhancement point to modified or Can let me know how to do this.
Regards,
sg.Hi,
Go to me2l tcode.....then change the "Scope of List" into "ALV".....and execute it.....now on the tool bar...click on "LOCAL FILE"....now select the radio button "Spreadsheet".....and perform your work..
Arunima -
BEx Broadcaster broadcasting the MS Excel file of size 1kb and that has no data
Dear Friends
As one of the BEx query is taking more time to execute and the session is going timed out before it displays the output, I have created a broadcaster setting for the same. I have created the broadcaster setting with the Distribution Type as "Broadcast Email" Output format as "XML (MS Excel)", but when I receive the broadcasted Excel which is only 1 kb and which doesn't have any data. Please throw some light on this if you have encountered a similar problem before n resolved it.
Thanks & Regards
Ranjan JinkaHi,
What the problem ? Broadcasting or memory issue need to be decided first.
For broadcasting test, run the report in foreground for bare minimum records, and see output is coming. Then broadcast it and see if it works.
For session out, you need to think on how to reduced the size of output file. I also suggest check the DB setting of your BW system. Ask your DB administrator about the issue you are facing related to session time out.
Thank-You.
Regards,
VB -
Regarding Copying of Data From Excel file to Web Dynpro Java Table
Hi
Can any body give Suggestions that is how to copy or import Row and Column Values in the Excel file to the Java Web Dynpro Table
Regards
Chandran SHi,
First u should include jxl.jar API in ur classpath.
ind a Resource variable to FileUpload UI. Then from the Fileupload UI, u can get the Sheet variable as
InputStream fis=wdContext.currentFileUploadElement().getResource().read(true);
Workbook wb=Workbook.getWorkbook(fis);
Sheet sh=wb.getSheet(0);
This can be easily read to a table by
for(int i=14;i<34;i++)
String bId=sh.getCell(2,i).getContents();
String cId=sh.getCell(3,i).getContents();
String subj=sh.getCell(4,i).getContents();
IPrivate<View>.I<Table>Element el=wdContext.node<Table>().create<Table>Element();
wdContext.node<Table>().addElement(el);
el.setBID(bid);
el.setCID(cid);
el.setSUB(subj);
This example reads the excel from row 13 to 32 and column 3 to 5 and uploaded to a table
Regards
Fahad Hamsa -
Cannot find the export excel file in Win7
Dear all:
We use the Discover 4i run the report then export the excel file to the win7 OS, but when export succeed,we cannot find the file. The user has the admin right to this export folder . How can I fix the problem?
my environment is : 11.5.9
Discover: 4i
OS: win7
Regards
Terry
Edited by: Terry Chen on 2010/4/28 下午 8:34Dear all:
I found the solution:
To modify the access permission of win 7.
Regard
Terry -
I am trying to implement TestStand from Windows/CVI 3.1. I need to insert a specific sequence file in TestStand, with all other sequences unloaded. I used TSUI_ApplicationMgrCloseAllSequenceFiles() and TSUI_ApplicationMgrOpenSequenceFile(), but after Username/Password prompt, the TestStand loaded all the old sequences. How to eliminate this?
Hello,
I created a function that calls those two methods. When I made a simple CVI button and in a callback for it, I call my function, it does successfully close all open sequencefiles and then load the one I specified; however, it does not work when I call the function just before the call to RunUserInterface! I am very surprised by this and will be bringing it up with our R&D department. There is a simple work-around. Instead of closing all open sequencefiles at the beginning of the OI, close them at the end instead. I have modified the full-featured OI for you and tagged in the code where I made changes. This should do exactly what you want (you may want to change the code around to make it a little cleaner...I left more in code in than I needed for instructive purposes). Please let me know if you have any questions about this. Take care!
Regards,
Aaron B.
National Instruments
Attachments:
TestExec.c 55 KB -
Does the current SSRS version supports the xlsb excel file extension?
I've found answers that the SSRS doesn't support the xlsb file type but it was way back 2013:
https://social.msdn.microsoft.com/forums/sqlserver/en-US/94c57862-281e-480a-b442-c2e907778bd8/ssrs-excel-render-and-save-as-excel-binary-xlsb
Does the current version (Reporting Services 2012) of Reporting Services already support this kind of file? Where can I see the list of file type that the Reporting Services is supporting?Hi zoldyk15,
In Reporting Services 2012, it doesn’t support .xlsb render. For your requirement, you could provide Microsoft a feature request at
https://connect.microsoft.com/SQLServer so that we can try to modify and expand the product features based on your needs.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support
Maybe you are looking for
-
Hi friend, i have issue regarding mandatory self life field (SELD/BBD and Date of manufactor)in migo for Batch Tab for particular Material start with '1' Series and material type. i want to make mandatory above field during GR from migo..any one let
-
Strange issues with domain controller/DNS server
Our domain controller/DNS server was working fine this morning. Then suddenly we stopped being able to access certain things on it. I could ping it, RDP into it, and access some files on it, but I couldn't run any applications hosted on it, accessing
-
I have had my fill of this problem, and I am now at my wits' end. If there were any alternatives to Adobe, I'd be switching. I paid over $1000 for CS5 nearly 3 years ago, and when I upgraded to CS6, the subscription service was all that was available
-
Migrate from Crystal Report XI R2 to Business Objects XI R2
Hello friends, As per end of licence life cycle for Crystal report, we need to migrate our 30 crystal reports to BO xi r2. First thing i need to ask is that ...is this possible to migrate from Crystal report XI R2 to BO xi R2 ? If yes than where i ca
-
trying to download update for iTunes and keep getting the following An error occurred while installing the updates.(103