Hello VBA developers,
The code you see below performs customized formatting layouts (code not shown). The main problem is that blank pages are shown (Print preview and save to PDF).
The “Sub headerFooter()” had some edits to complement the new “Sub DeleteBlankParagraphs()” section in the...
Hi Paul,
I cleaned up the logic (see below), which works as well. Thnks, ~PM
Sub headerFooter()
Dim s As Section
For Each s In ActiveDocument.Sections
' Configure header on all but first section
If s.Index > 1 Then
DoHeader s.Headers(wdHeaderFooterFirstPage)...
Thank you Paul for your response and assistance. Your logic (code) worked. Just making sure that I placed the code in the appropriate spot (see below).
Thanks again,
~PM
Sub headerFooter()
Dim s As Section
For Each s In ActiveDocument.Sections
' Skip first two sections...
History: I have a macro (not shown) that deletes the blank page that comes between the cover page and the proprietary page of a Word document that is generated from RoboHelp. However, the cover and the proprietary pages become the same section and the footer section (macro driven as well) is...
Hello VBA Programmers,
I have the following macro which deletes blank paragraphs from a Word document (e.g. user can see blank pages in Print Preview). I loop through all sections in the document, and if the section does not contain the table of contents, then I delete the blank paragraphs in...
Hello all:
I am aware of a FTP client software, "Scotty" however, I need to know if there is a correct setting I need to configure in my Windows CE 2.0. I tried accessing a ftp by typing in the address bar, no go. Anyone had any luck?
Thanks,
~PM
&&WORKING CODE
LOCAL lnOldWorkArea, llOKToClose
lnOldWorkArea = SELECT()
IF SELECT("Swog111") > 0
SELECT Swog111
llOKToClose = .F.
ELSE
SELECT 0
USE c:\ascent\swog111.dbf AGAIN&& Allows multiple open unless the Shipform has it open EXCLUSIVE
llOKToClose =...
I would like the community all to know that Mike P. is one extraordinary fellow. For weeks, Mike provided his assistance off-line helping me resolve my issue. Mike offered some awesome insight on how to tackle the problem. Mike also went above and beyond by attempting to get his hands on the...
Hi Mike:
Thanks for sticking with me. I have no source code of the program (ref. Thirdparty shipping software). However, I have the ability to access "custom routines" by utilizing a program file called Cus_main.prg. Here I can code and in Screen Builders (ref. shipping software) I can make...
Hi Mike:
Sc_ship.a_ship[8] is the array for the weight field on the shipping screen during runtime. I tried what you suggest but I get an "Error 13 Alias Swog111 is not found" ??? :(
FUNCTION Swg_weight()
Set exclusive off
USE IN SELECT("swog111")
Sc_ship.a_ship[8] = swog111.Sw_anynum2...
Hi Mike:
Sc_ship.a_ship[8] is the array for the weight field on the shipping screen during runtime. I tried what you suggest but I get an "Error 13 Alias Swog111 is not found" ??? :(
FUNCTION Swg_weight()
Set exclusive off
USE IN SELECT("swog111")
Sc_ship.a_ship[8] = swog111.Sw_anynum2...
Hi All:
Using VFP 8.0
PROBLEM: Need my Swog Weight to rate.
SWOG stands for Ship With Other Goods. It is used to ship several smaller items within a larger container to the same destination. This information is stored in the shipping software I'm using, it lets you track which shipment a...
Hi Walter:
I had to comment line (ref. duplicate) "*#DEFINE HKEY_LOCAL_MACHINE 0x80000002 " and added a "3" to RegSetValueEx(RESULT,"CustomerUpgradable",0,1,"3",1). Works fine thanks. I just thought there was a way yo just *edit* my key value instead of overwriting/recreating it.
Thanks...
Thanks guys!!!
Awesome input all. How about trying this one:
Note a get an error during compule time "Unrecognized command ver" for line:'Integer fdwType, String lpbData, Integer cbData'
Any sugestions?
* Declare the API functions:
#Define HKEY_CLASSES_ROOT -2147483648
#Define...
OK Guys:
The Window Scripting works as a breeze that Mike showed me but has some limitation as mentioned above. The code below does not error but does not do anything. I didsome research that you all pointed out and found on my own, I'm perplexed )and I know it must be something I...
Hi Tom:
SET RELATION
Relate two work areas by a key value or record number
------------------------------------------------------------------------------
Syntax
SET RELATION TO [<expKey> | <nRecord> INTO <xcAlias>]
[, [TO] <expKey2> | <nRecord2> INTO <xcAlias2>...]...
Hi Gang:
Well I tried it the Foxpro API way, no compile errors but nothing happens.
Any suggestions would be much apreciated.
Thanks,
~PM
*// PURPOSE:
*// Creates a value called in
*// CustomerUpgradable under the HHKEY_LOCAL_MACHINE*// SOFTWARE\PitneyBowes\Ascent\CustomerUpgradable, and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.